JavaScript Calculator Accepts Invalid Input

Hello everyone.

I have found that the application [],[ ] has some bugs:

Uncaught SyntaxError: Unexpected token ‘*’

input: *2=

Uncaught SyntaxError: Invalid regular expression: missing /

input: /2=

Uncaught SyntaxError:Invalid regular expression flags

input: /2/2=

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.