function prepend(arr, item) { let newArr=[item]; arr.forEach(ele=>newArr.push(ele)); return newArr; }