tc39 / proposals

Tracking ECMAScript Proposals
https://tc39.github.io/process-document/
18.12k stars 713 forks source link

Unless/until. #433

Closed arthurwolf closed 1 year ago

arthurwolf commented 1 year ago

I'm not actually proposing the feature.

I'm asking whether this feature (unless(x) <=> if(!), like in Perl) has ever been proposed, and if so where was it proposed? I searched but couldn't find anything.

Thanks!

ljharb commented 1 year ago

The place to search for that is https://es.discourse.group (or https://esdiscuss.org for historical discussions). I don't believe it was ever an official proposal, but given that ASI exists and unless is already a valid identifier, I'd imagine it wouldn't be possible.