- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 12 Jun 2013 00:20:58 -0700
- To: Boris Zbarsky <bzbarsky@mit.edu>
- Cc: Jonas Sicking <jonas@sicking.cc>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On Tue, Jun 11, 2013 at 7:21 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote: >> This aligns with how dictionary handling is handled by ES6. > > I'd love to read up more on this. Where in ES6 are there dictionaries? Look at argument destructuring, which can destructure objects, or just plain optional arguments in ES6. Passing explicit undefined is equivalent to not passing the argument at all, which is intentional to allow easy "argument forwarding" without a combinatorial explosion of calling patterns. ~TJ
Received on Wednesday, 12 June 2013 07:21:45 UTC