typeof 只能判断元素的基本类型 null特殊 是一个object ,undefind是undefined Object.prototype.toString.call(a) 可以判断任意元素 的类型 结果是"[object,各种类型]"