Throw error for reserved words enum and await (#195)
* Throw error for reserved words enum and await when source type is module * Extract reserved word check into method * Fix tests
This commit is contained in:
committed by
Daniel Tschinder
parent
643124744f
commit
e260381e06
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Binding eval in strict mode (1:0)"
|
||||
}
|
||||
"throws": "eval is a reserved word in strict mode (1:0)"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user