100devs-calculator
100devs-calculator copied to clipboard
Completed Calculator
Calculator operates with object oriented programming. Calculator functions are created with a constructor function. An instance is saved to calc. Button operations work on this instance of Calculator, specifically by using the definedProperty setter btnInput.
Variables are private, but math, display, and reset methods are public.
Fixed bugs that were discovered after last pull request.
Calculator now accepts new inputs after submitting operations, allowing for chaining calculations. Absence of reset button still necessitates a page refresh or calc.reset() command in console.
I completed the challenge: 5 I feel good about my code: 5