Skip to content

方式注释反了? #2

@zaq1xsw

Description

@zaq1xsw

util.js中的 下面两个方法中中文注释是不是反了,方法名和注释冲突
/**

  • 将弧度换算成角度
    */
    export function convertDegree2Radian(deg) {
    return deg * Math.PI / 180;
    }

/**

  • 将角度换算成弧度
    */
    export function convertRadian2Degree(radian) {
    return radian * 180 / Math.PI;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions