慕课解释相同类型元素组成成为数组,不同类型元素组成了元组(Tuple)2. 定义元组类型声明一个由string和number构成的元组:const list: [string, ...
確定! 回上一頁