- Fork and clone this repo.
- Read the comments in the js file, keep in mind to write arrow functions only.
- You will have 10 minutes to solve each function
To run the code you're writing without running the automated tests, call the function you'd like to test manually in funcions.js
and run the following command:
$ node iterators.js
Install all the requirements:
-
Navigate to the project root (you'll find a file called
package.json
there). -
Install the required packages with the following command:
$ npm install
Run the tests:
$ npm test
This command will run the testing file and test your code to make sure it has all the required features.
You'll know when you're done when your code passes all the tests.