We can explicitly calculate the last element index and then access it: fruits[fruits.length - 1] . let fruits = [ ...
確定! 回上一頁