Skip to content

#数据类型

原始类型:

string、number、boolean、undefined、null、symbol、bigint

引用类型:

对象(Object)、数组(Array)、函数(Function)

类型转换

显式转换:

  • Number()
  • String()
  • Boolean()

隐式转换:

  • ==+ 的隐式规则