[whatwg/storage] Use array destructuring in example code (#47)

`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