« Bugzilla Issues Index

#1089 — is not defined

Based on there was consensus to:

* Add
* Add is and isnt as contextual keywords, where "x is y" desugars to, y), and "x isnt y" desugars to !, y)

(There was further discussion on that page about Object.isnt)

Currently, the Ref 12 Draft specifies the contextual keywords "11.9 Equality Operators" but is not defined.

I'm not a TC-39 member so perhaps there was later discussion that eliminated That would be a shame as the function form can be trivially polyfilled while the operator form cannot (without transpiling).

fixed in rev 14 editor's draft

in Rev 14 draft