+ 2
In what scenario are programs like this useful?
let newArr = ['Three', 'Four']; let arr = ['One', 'Two', ...newArr, 'Five']; console.log(arr);
1 Answer
+ 2
Infinite situations, like you made a list of usernames but you want someusers shown not at the last but between of other array values.