js的5个基本数据类型有null,undefined,string,number,boolean(除了前两个都有引用类型)书中如是说
慕课网也是如是说:
typeof运算符产生的值有'undefined',‘number’,'string','object','boolean','function'。
运算数为null 和 数组时都是object
js的5个基本数据类型有null,undefined,string,number,boolean(除了前两个都有引用类型)书中如是说
慕课网也是如是说:
typeof运算符产生的值有'undefined',‘number’,'string','object','boolean','function'。
运算数为null 和 数组时都是object