100devs-calculator icon indicating copy to clipboard operation
100devs-calculator copied to clipboard

Completed Calculator

Open jesseranon opened this issue 2 years ago • 1 comments

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.

jesseranon avatar Mar 29 '22 17:03 jesseranon

I completed the challenge: 5 I feel good about my code: 5

jesseranon avatar Oct 05 '22 20:10 jesseranon