Simple-JavaScript-Calculator
Simple-JavaScript-Calculator copied to clipboard
While multiplying using brackets, It shows invalid
10(2)= 20 ------>Needed 10(2)=PLEASE INPUT VALID EXPRESSION

I fixed this specific issue in PR #5 However, there's no possibility to use bracket multiplication twice yet.
For example:
2(5(2)) = PLEASE INPUT VALID EXPRESSION ---> current
instead of
2(5(2)) = 20 ---> correct
You can probably fix this with the method I created, just gotta get a bit more in depth.
Thanks, @mnaray! However, it doesn't seem to be working on keypress event(s). Kindly create a new PR or I will try to fix that later.
Thanks, @mnaray for fixing the issue!
You're welcome. Lmk if you meed help with something else!