JavaScript ES6 Assessment

Use your knowledge of ES6 to rewrite the functions in this repository. Each test will be checking for the following rules:

  • You use template strings
  • You do not use var anywhere in your code
  • You use arrow functions
  • You declare defaults in function signatures
  • You use shorthand to setup objects
  • You use destructuring in function signatures and in the function body
  • You use the spread and rest operators

Setup

  1. Fork and clone this repository
  2. Run npm install or yarn
  3. Run the tests with npm test