By using the bracket notation, [] , on the arr array, we can get an ... 6); console.log(tempArr[tempArr.length - 1]); // Expected Output: 6.
確定! 回上一頁