var fruits = ['apple', 'banana']; var first = fruits[0]; > apple var last = fruits[fruits.length - 1]; //此陣列長度為2 , 但是索引是從0 ...
確定! 回上一頁