Exponentiation operator precedence

Brendan Eich brendan at mozilla.org
Fri Aug 28 04:47:41 UTC 2015


Mark S. Miller wrote:
> but "yield" is an identifier not an operator symbol, and so does not 
> as clearly fall within or shape operator expectations.

delete
typeof

These are high-precedence, same level as unary +/- etc. Unlike yield, 
which is at assignment operator level.

I'm simply questioning your "identifier not an operator symbol" razor 
here, when previously you argued "unary operators have higher 
precedence" without distinguishing the identifier-named unary ops of 
high precedence.

/be


More information about the es-discuss mailing list