Use array slice() to return a specific element; Retrieve the last element using negative index array.slice(-1); Save the last element in a variable. Continue ...
確定! 回上一頁