After completing this assignment, you should be able to:
- Demonstrate understanding of types, functions, argument-handling, loops, and conditional statements
- Fork this repository to your own account.
- Change into your TIY directory:
cd ~/tiy
- Clone your repository:
hub clone function-junction
- Change into your project's directory:
cd function-junction
- Install the dependencies:
yarn install
(or justyarn
for short) - Open in Atom:
atom .
- Start the test runner:
yarn test
- Open
src/functions.test.js
and work on functions until tests pass. - Commit and push your work to GitHub.
- Turn in the URL to your GitHub repo.
- All tests passing
- No linter warnings
- Turn in the homework using the URL to your repository on Github.
- If you used "built-in" JavaScript methods like
String.reverse()
orArray.max()
to solve these problems, try implementing them from scratch. - Vice-versa: if you implemented your solutions from scratch, look in the documentation linked below to see if JavaScript has any built-in functions to help solve these problems.
Reference the documentation on MDN to find what kind of helpful functions might already be on Array
and String
in JavaScript.