- From: Garrett Smith <dhtmlkitchen@gmail.com>
- Date: Mon, 1 Aug 2011 22:39:51 -0700
- To: Allen Wirfs-Brock <allen@wirfs-brock.com>
- Cc: Cameron McCormack <cam@mcc.id.au>, Jonas Sicking <jonas@sicking.cc>, Alex Russell <slightlyoff@google.com>, public-script-coord@w3.org, Brendan Eich <brendan@mozilla.com>
On 8/1/11, Allen Wirfs-Brock <allen@wirfs-brock.com> wrote: [...] > Why do you need to explicitly list them. Defer that responsibility to > ECMAScript. Just say that it is the generic mutating and non-mutating > methods of Array.prototype for the version of ECMAScript that is supported > by the implementation. > Have ES5 committee considered separating or tagging the methods that mutate the array vs. those that don't, possibly even making this discoverable so that a program could determine what the object is capable of doing (please no try/catch on arrays). -- Garrett
Received on Tuesday, 2 August 2011 05:40:18 UTC