Skip to content

类型转换示例错误 #34

Description

@Justalamb

基础语法的类型转换中有一行示例为

"1" + NaN           // "NaN"

按照转换规则,会将NaN进行String(NaN)转换为“NaN"再继续字符串拼接,结果应该为"1NaN"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions