I would expect `-2**3` to return -8, or `-2**2 == -4`, since it should be
like `-(2**3)`

Firefox gives a clearer error then Chrome with:
> SyntaxError: unparenthesized unary expression can't appear on the
left-hand side of '**'

Is there a reason for this restriction? Python does it `-2**3` fine
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to