1、基本类型,数字Number,布尔Boolean,字符串String,undefied,
typeof 1;//number
typeof true;//boolean
typeof "";//string
typeof zheng;//undefined
2、引用类型,{},null,
typeof {};//object
typeof null;//object
typeof Math;//object
typeof /zheng/gi;//object
3、函数对象
typeof Number;//function
typeof Boolean;//function
typeof String;//function
typeof RegExp;//function
typeof Date;//function
typeof Error;//function
typeof Function;//function
var sayName = function{alert(this.name)};
typeof sayName;//function