[strawman] Symbol.thenable proposal
michael.lee.theriot at gmail.com
Sat Apr 14 17:53:19 UTC 2018
Currently 'then' is effectively a reserved key and I'd expect any extension
that allows the language to ignore it likewise include a means of changing
the key entirely.
On Apr 12, 2018, at 9:33 PM, Gus Caplan <me at gus.host> wrote:
In an effort to curtail the interesting behavior of Promise.resolve
with regard to dynamic import), I have created a proposal for a well-known
symbol which will allow an object to not be treated as a "thenable."
I am privy to the current protocol proposal which might be a better fit for
this, but due to dynamic import already being stage 3, I don't feel we
wait for it to come to fruition.
Comments and suggestions are of course quite welcome at the repo .
es-discuss mailing list
es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss