Skip to content
Calculator created with JS including Jasmine Unit Tests
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

JavaScript Calculator

JavaScript calculator with Jasmine Unit Tests to make sure calculations are performed correctly. This calculator uses immediate execution logic.

live demo:

JS Calculator Preview

Getting the code set up on your computer

  1. Firstly you will need to clone this repository by running git clone command in your terminal.
  2. open index.html to start the calculator in your browser
  3. open /jasmine/SpecRunner.html to run Jasmine tests
  4. modify any way you want.
  5. Enjoy!

Note to self: Try converting the code to use a Calculator object.

You can’t perform that action at this time.