JS的类型转换

JS的类型转换

首先, JS的数据类型分为基本数据类型和引用数据类型 基本数据类型: 引用数据类型: 在 JS 中的类型转换都会转换成以下 3 种类型 转为 String 可以使用以下方法进行转换 String() 、toString()
JavaScript120