- From: Jeffrey Posnick <notifications@github.com>
- Date: Mon, 31 Jul 2017 13:45:44 -0700
- To: whatwg/storage <storage@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 31 July 2017 20:46:06 UTC
`Promise.all()` resolves with an array containing all of the sub-promises' resolutions, but the code is written as if each value would be passed as individual parameters to `.then()`. In order to match the intention of the example, a destructuring assignment can be used. You can view, comment on, or merge this pull request online at: https://github.com/whatwg/storage/pull/47 -- Commit Summary -- * Use array destructuring in example code -- File Changes -- M storage.bs (2) -- Patch Links -- https://github.com/whatwg/storage/pull/47.patch https://github.com/whatwg/storage/pull/47.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/storage/pull/47
Received on Monday, 31 July 2017 20:46:06 UTC