A literal is the best way to express an array: var arr = [1, 2, 3, 4];. There is an alternative to that, the Array constructor: var arr = new Array(1, 2, 3, ...
確定! 回上一頁