js判斷是不是數組

//判斷是不是數組
function isArray(obj) {  
  return Object.prototype.toString.call(obj) === '[object Array]';   
數組

相關文章
相關標籤/搜索