js判断是不是数组

//判断是不是数组
function isArray(obj) {  
  return Object.prototype.toString.call(obj) === '[object Array]';   
数组

相关文章
相关标签/搜索