访问元素

1、数组索引下标

let arr = [10, 20, 30];
console.log(arr[0]); // 输出:10

Last updated