> ...but only in an unpolyfillable, ES6-only world. > > Right, they don't help existing libraries, but it would still pave a path towards branded-only promises in the (unfortunately very, very far) future (with ES5 all but gone)
Only "ghetto anti-branding" will help existing libraries (and make it possible to check if flipping the switch is okay much earlier). Its not like combining ghetto .then with ghetto `__notPromise__` is worse than just ghetto `then`. One thing that can be done is to make it less ugly. Since it would always be checked in tandem with `then`, it could simply be `notConvertableToPromise`. Without the double underscores, people will be slightly less likely to ask "what the hell were they smoking"
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

