摘要: Array.of()方法的使用: Array.of()方法用于将一组数值转换为数组,举例: const a = Array.of(2,4,6,8); console.log(a); // [2,4,6,8] const b = Array.of(1); console.log(b); // [1] 阅读全文
posted @ 2019-12-07 21:06 溢杨年华 阅读(2963) 评论(0) 推荐(0) 编辑