Closed mnaray closed 2 years ago
In this PR, I created a method that gets called when there is a multiplication with a bracket. This fixes the bug described in issue https://github.com/harsh98trivedi/Simple-JavaScript-Calculator/issues/4 However, I didn't get to make it able to work with two multiplications.
The first commit was just removing a commented console log and formatting the code to make it more readable.
In this PR, I created a method that gets called when there is a multiplication with a bracket. This fixes the bug described in issue https://github.com/harsh98trivedi/Simple-JavaScript-Calculator/issues/4 However, I didn't get to make it able to work with two multiplications.
The first commit was just removing a commented console log and formatting the code to make it more readable.