Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 635 Bytes

homework01.md

File metadata and controls

17 lines (13 loc) · 635 Bytes
  1. Create a new node project with an index file as the entry point and a math module file.

The math module should include functions for:

  • addition
  • subtraction
  • multiplication
  • division
  • modulo
  • exponents

Your module should do some basic error checking (for example: not allowing divide by 0). Please make sure all your code is ES6 compliant. Your index file should include an example use of all of your module functions at least once.

Please note, this is assignment only covers module creation and not creating an HTTP server.

Please push all your homework code to GitHub and send us the link when you're done.