raising the precedence level of delete, instanceof, and typeof

This commit is contained in:
Jeremy Ashkenas
2010-02-09 22:20:04 -05:00
parent 8e3e06a6e9
commit 9339058fc3
7 changed files with 722 additions and 657 deletions

View File

@@ -747,7 +747,7 @@ module CoffeeScript
:isnt => "!==",
:not => '!'
}
CHAINABLE = [:<, :>, :>=, :<=, :===, :'!===']
CHAINABLE = [:<, :>, :>=, :<=, :===, :'!==']
ASSIGNMENT = [:'||=', :'&&=', :'?=']
PREFIX_OPERATORS = [:typeof, :delete]