|
|
|
|
|
by ryandv
646 days ago
|
|
It's a good point. `Promise::resolve()` "flattens nested layers of promise-like objects (e.g. a promise that fulfills to a promise that fulfills to something) into a single layer." [0] The example was meant to be more of an illustrative analogy than an exact correspondence. [0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... |
|