Spread Operator

by Varun Sukheja

JavaScript

let arr = ['c','d'];
let newArr = ['a','b',...arr,'e'];
console.log(newArr);