But with ES6, you can also use the spread operator to duplicate an array... ... Let's change our sheeps2 array sheeps2.push(' '); console.log(sheeps2); ...
確定! 回上一頁