Programming exercises for a beginning JavaScript programmer.
These exercises focus on basic syntax and core library functions for:
- Functions
- Numbers
- Strings
- Arrays
Make sure that Node.js and npm are installed. Then, from this directory type:
npm install
This will install a folder named node_modules/
into this folder.
You will be writing functions in the JavaScript files found in the exercises/
folder.
Write your functions and then run:
npm test
The goal is to get the test suite to pass all conditions. Good luck!
You may want to run the test suite anytime a file in exercises/
changes:
npm run watch
This command will continuously run the test suite and stop on the first failing test.