Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 741 Bytes

File metadata and controls

36 lines (22 loc) · 741 Bytes

Module 3 - Basic Laboratory - Exercise 2 - Concat

Implement an immutable concat function that concatenates two arrays. Use rest/spread operators.

Source

const concat = (a, b) => {}; // Implementation here.

Optional

Implement a new version of concat that accepts multiple input arrays (more than 2). Do not use the Array.prototype.concat method.

Installation to develop

  1. Install the Node.js dependencies:

    cd labs-module-3-language/lab-basic/exercise-2
    npm i --save-dev
  2. Start the development server:

    npm run dev
  3. End and happy coding!

Finally

More info in the following commits. If required.

Grettings @jjpeleato.