**
一、typeof判断,返回字符串
**
能用typeof判断的:undefined,boolean,string,number,function。
但以下三个不能用typeof区分:
typeof null; // object
typeof [ ]; // object
typeof { }; // object
**
二、instanceof判断对象的具体类型,返回ture或者false
**
数组和对象用instanceof判断:
[ ] instanceof Array; //true
{ } instanceof Object; //ture
三、===可判断undefined和null
null === null; //ture
undefined === undefined; //ture