Fork and clone this repository and complete the three sections below. Make at least one commit for each section. When finished, push your commits to your forked repository and submit a Pull Request back to the original repository.
IMPORTANT: Make sure to use the var
keyword for ALL variable declarations (for testing purposes). DO NOT use const
or let
.
Follow the prompts and write your code in fundamentals.js
Follow the prompts and write your code in hof.js
Follow the prompts and write your code in oojs.js
You should first test your code's functionality in the browser console via the included index.html
file.
Once you think your code is correct, you can run the tests that will evaluate your solutions to double-check them.
To do so, first install the testing packages...
$ npm install
Then call the test runner each time you want to check your code...
$ npm test