js判断类型 typeof判断基础类型obj instanceof String/Object instanceof判断引用类型 在跨 frame 对象构建的场景下会失效Object.prototype.toString.call(arr) === ‘[object Array]’