typeof: 检测变量的类型 instance of :是否是谁的实例对象 function Array() { } var arr = new Array(); arr instance of Array === true