Array.isArray() 判断是不是数组 var arr = new Array(); if(Array.isArray()){ console.log('yes') } else { conssole.log('no') }