JS有哪几种数据类型

259 阅读1分钟
  • 基本数据类型有:string、number、boolean、undefined、null 和 symbol(符号)

  • 引用数据类型有:Object、Function、Date、RegExp 等。