In the first, you use the type of the elements followed by [] to denote an array of that element type: ts. let list : number[] = [1, 2, 3];.
確定! 回上一頁