Skip to content

Commit

Permalink
Add 'char' as a reserved javascript keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 28, 2013
1 parent e32fd7e commit ef6ec53
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/opal/nodes/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ module Helpers
# Reserved javascript keywords - we cannot create variables with the
# same name
RESERVED = %w[
break case catch continue debugger default delete do else finally for
function if in instanceof new return switch this throw try typeof var let
void while with class enum export extends import super true false native
const static
break case catch char continue debugger default delete do else finally
for function if in instanceof new return switch this throw try typeof
var let void while with class enum export extends import super true
false native const static
]

def property(name)
Expand Down

0 comments on commit ef6ec53

Please sign in to comment.