摘要: /** * TS 数组和 JS 数组是一样的 * 变量提示,const numberArr: number[] */ const numberArr = [1, 2, 3]; const arr: number[] = [1,2,3]; const stringArr: string[] = ['a 阅读全文
posted @ 2020-05-29 06:44 wzndkj 阅读(1883) 评论(0) 推荐(0) 编辑