I need help with the following program in javascript
A function, written without any loop statements, that accepts an array and produces a new array equal to the initial