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:
Kai Cataldo
2016-11-09 10:29:02 -05:00
committed by Daniel Tschinder
parent 643124744f
commit e260381e06
189 changed files with 1460 additions and 231 deletions

View File

@@ -1,3 +1,3 @@
{
"throws": "Binding eval in strict mode (1:0)"
}
"throws": "eval is a reserved word in strict mode (1:0)"
}