- From: <bugzilla@jessica.w3.org>
- Date: Thu, 23 Jan 2014 00:55:48 +0000
- To: public-script-coord@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24291
Jonas Sicking <jonas@sicking.cc> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonas@sicking.cc
--- Comment #5 from Jonas Sicking <jonas@sicking.cc> ---
Note that it is debated if Promise.cast(x) should mutate x (by freezing it).
This is discussed in
https://github.com/domenic/promises-unwrapping/issues/79
If the outcome of that discussion is indeed to freeze the passed in value, that
likely makes Promise.cast inappropriate to ever call implicitly, such as during
a type conversion.
In that case using Promise.resolve might be more appropriate.
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 23 January 2014 00:55:51 UTC