var arr1 = new Array(); var arr2 = [];. As with objects, the literal syntax version is preferred. We can test if an object is an array using the Array.isArray ...
確定! 回上一頁