|
|
|
|
|
by thomasfoster96
4084 days ago
|
|
I'm more interested in these sorts of features being in the ES6 Promises implementation. I expect that given a lot of new Web APIs are going to be using the native promises, these features being in the ECMAScript promises implementation is pretty important. |
|
Even the ES6 Promises implementation supports this:
Here the plain object with then could have been any promise implementation, even jQuery, and it still works.