break = 1; gives Uncaught "TypeError" instead of Uncaught "SyntaxError" #741
Labels
bug
Something isn't working
E-Easy
Easy
good first issue
Good for newcomers
Hacktoberfest
Hacktoberfest 2021 - https://hacktoberfest.digitalocean.com
Uncaught "TypeError": "expected token 'identifier', got '=' in binding identifier at line 1, col 7"
The above should be:
Uncaught SyntaxError: "expected token 'identifier', got '=' in binding identifier at line 1, col 7"`
Taken from:
https://github.com/tc39/test262/blob/master/test/language/keywords/ident-ref-break.js
Contributing: https://github.com/boa-dev/boa/blob/master/CONTRIBUTING.md
Debugging: https://github.com/boa-dev/boa/blob/master/docs/debugging.md
The text was updated successfully, but these errors were encountered: