摘要: forEach forEach,对数组的每个元素执行一次给定的函数。 const array1 = ['a', 'b', 'c']; array1.forEach(element => console.log(element)); fill、map file,用一个固定值填充一个数组中从起始索引到终 阅读全文
posted @ 2022-02-15 17:01 远方的少年🐬 阅读(88) 评论(0) 推荐(0) 编辑