判断数据类型 有的数据类型boolean string number undefind unll function object array typeoftypeof 对 boolean string number undefined function 有效 除去 function 其他的引用类型都是 object 判断数组用 Array.isArray() instanceof Object.prototype.toString.call 赞微海报分享
近期评论