Challenge Week 7 - Event-Driven Calculator

An event emitter provides a mechanism for emitting and listening to custom events in a Node.js application. Event emitters are at the core of event-driven programming in Node.js, enabling you to build applications that respond to events asynchronously.

In this challenge, we have incomplete operations for the calculator. Your task is to complete the missing operations of the calculator, such as subtraction, multiplication, division, and exponential.

Steps

  1. Support subtraction, multiplication, division, and exponential operators on calculator.js module.
  2. Write unit tests for each operators on calculator.spec.js and unit tests for combinations of operators.
  3. Run npm test to check your unit tests

How to Submit

  1. Fork this repository
  2. Clone forked repository
  3. Create a new branch: git checkout -b solution
  4. Install dependencies: npm install
  5. Create a folder of your nickname: mkdir nickname
  6. Copy files from the challenge directory to your own folder
  7. Complete the objectives
  8. Commit and push your changes
  9. Create a Pull Request to original repository