arguments
and eval
should be allowed in the return position in strict functions
#1598
Labels
bug
Something isn't working
good first issue
Good for newcomers
Hacktoberfest
Hacktoberfest 2021 - https://hacktoberfest.digitalocean.com
parser
Issues surrounding the parser
In strict mode
arguments
andeval
are mostly treated as keywords. For example they cannot be assigned to. But they should be allowed as return values from a strict function.The following code examples currently fail, but should work:
Based on the error message a good starting point would be here:
boa/boa/src/syntax/lexer/identifier.rs
Line 119 in c977b8e
The text was updated successfully, but these errors were encountered: