Function Junction
Using JavaScript takes practice and the best practice is repetition. This exercise allows you time to work on the basics of JavaScript and how to apply that logic to solving problems.
Objectives
After completing this assignment, you should be able to:
- Demonstrate understanding of iteration/enumeration
Instructions
- Fork this repository to your own account.
- Change into your projects directory:
- Clone your repository:
hub clone function-junction
- Change into your project's directory: `cd function-junction``
- Install the dependencies:
npm install
- Open in your editor
- Start the test runner:
npm test
- Open
src/functions.test.js
and work on functions until tests pass. - Commit and push your work to GitHub.
Explorer Mode
- Work on
function-junction
using the directions above - Finish the code and have all tests passing
- Have no linter warnings
- Turn in the homework using the URL to your repository on GitHub.
Adventure Mode
Do the same with the Function-Junction Koans at https://github.com/suncoast-devs/js-iteration
Do the same with the JavaScript Koans at https://github.com/suncoast-devs/koans/blob/master/koans.js
Epic Mode
- Using the
forEach
looping method and no other looping or enumeration helper, write your own version of the following methods, except name yours_map
,_filter
, etc.map
filter
reduce
every
some
Additional Resources
Reference the documentation on DevDocs to find what kind of helpful functions might already be in JavaScript.