数据类型
number string boolean null undefined object ( array function )
内置对象
Number String Boolean Object Array Function Date RegExp Error
null和undefined没有对应的构造形式,他们只有文字形式。相反Date只有构造没有文字形式
在JavaScript中它们实际上只是一些内置函数,这些内置函数可以当作构造函数(new)来使用,从而可以构造一个对应子类型的新对象
数组
数组也是对象,所以虽然每个下标都是整数,你仍然可以给数组添加属性