1 var a = []; 2 alert(a.constructor == Array); 转载于:https://www.cnblogs.com/qzsonline/archive/2012/05/31/2528698.html