Skip to content

Commit

Permalink
Issue jashkenas#1547 'use strict' future reserved keywords as identif…
Browse files Browse the repository at this point in the history
…iers prohibited
  • Loading branch information
geraldalewis committed Jan 16, 2012
1 parent f43ec97 commit 0b7cfba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lexer.coffee
Expand Up @@ -572,6 +572,8 @@ RESERVED = [
'case', 'default', 'function', 'var', 'void', 'with'
'const', 'let', 'enum', 'export', 'import', 'native'
'__hasProp', '__extends', '__slice', '__bind', '__indexOf'
'implements', 'interface', 'let', 'package',
'private', 'protected', 'public', 'static', 'yield'
]

# The superset of both JavaScript keywords and reserved words, none of which may
Expand Down

0 comments on commit 0b7cfba

Please sign in to comment.