Implement an immutable concat function that concatenates two arrays. Use rest/spread operators.
const concat = (a, b) => {}; // Implementation here.Implement a new version of concat that accepts multiple input arrays (more than 2). Do not use the Array.prototype.concat method.
-
Install the Node.js dependencies:
cd labs-module-3-language/lab-basic/exercise-2 npm i --save-dev -
Start the development server:
npm run dev
-
End and happy coding!
More info in the following commits. If required.
Grettings @jjpeleato.