- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 2 Aug 2011 11:05:22 -0700
- To: Jonas Sicking <jonas@sicking.cc>
- Cc: Maciej Stachowiak <mjs@apple.com>, Alex Russell <slightlyoff@google.com>, WebApps WG <public-webapps@w3.org>
On Tue, Aug 2, 2011 at 12:36 AM, Jonas Sicking <jonas@sicking.cc> wrote: > I'm not sure if it's better to include the children as a var-args > list, or as an array. Certainly when typing things normally var-args > saves you the "[" and "]", but when coding, if you've built the child > list dynamically and have an array, you have to make awkward .apply > calls. Read again - the idea is to auto-expand arrays. (I don't have much of a preference between "just use an array" and "use varargs, but expand arrays". I agree that using only varargs without expansion would be bad.) ~TJ
Received on Tuesday, 2 August 2011 18:06:09 UTC