Quantcast
Channel: w3cplus
Viewing all articles
Browse latest Browse all 1557

js 检测数组函数

$
0
0
var isArray = Function.isArray || function(o) {
  return typeof o === "object"&&
  Object.prototype.toString.call(o) === "[object Array]";
};

Viewing all articles
Browse latest Browse all 1557

Trending Articles