Tab Atkins Jr. (2014-02-06T00:44:55.000Z)
domenic at domenicdenicola.com (2014-02-10T22:48:15.574Z)
On Wed, Feb 5, 2014 at 3:51 PM, Brendan Eich <brendan at mozilla.com> wrote: > Yeah, that would suck for the pretty one-liner. But is it really that much > more? Write it out and let's see A vs. B. ```js e.respondWith(cache.get('foo').then(x=>x[0])) ``` ...which doesn't look like much until you realize you have to repeat the invocation on every single cache retrieval. (And remember to box with [] on every cache set, or else the retrieval will error out.)