// 元组, 需要严格按照元组声明的类型给值 let arr: [string, number] = ['1', 1] console.log(arr) console.log(arr[0]); let excel:[number, string][] = [ [0, '白云区'] ]
页尾