The !myFunction() expression is (wrongly) parsed as if there were parentheses like this: (!myFunction)(), whereas it should be interpreted like this: !(myFunction()) (as it is done in JavaScript).
When adding explicit parentheses, the expression is correctly interpreted.
Issue
The
!myFunction()
expression is (wrongly) parsed as if there were parentheses like this:(!myFunction)()
, whereas it should be interpreted like this:!(myFunction())
(as it is done in JavaScript). When adding explicit parentheses, the expression is correctly interpreted.HSP file
Plunk
Here is a plunk to reproduce this issue: http://embed.plnkr.co/IqqSQ1FEUuVHici20QMm
The following message is displayed on the console:
Hashspace version
Tested with version fbcc30530129b8e57e466926d4dd88cd251043d1.