Closed
Description
@andruud wrote in #6312 (comment)
The reason Chromium appears to evaluate
not fn()
to false in the demo is becausenot fn()
is actually invalid grammar. (<any-value>
, requires one or more tokens).
Since this is about forwards-compatible parsing and evaluation, it seems to me it would make more sense if <any-value>
were optional so that empty functional notations would be syntactically valid.