W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: FileAPI "splice" method

From: Michael Nordman <michaeln@google.com>
Date: Fri, 7 Aug 2009 12:24:34 -0700
Message-ID: <fa2eab050908071224r558b8df0vbc633751a99de527@mail.gmail.com>
To: Adam de Boor <adeboor@google.com>
Cc: public-webapps@w3.org
agreed... slice() seems more appropiate

On Wed, Aug 5, 2009 at 10:34 PM, Adam de Boor <adeboor@google.com> wrote:

> this is a minor point, but I'm finding the name of the "splice" method to
> be odd. To me splice means to join, and "slice" would seem a more
> appropriate name. The Array object has both splice and slice, and the former
> is used for removing and inserting data and modifies the array in place,
> while the latter pulls out a sub-part of the array into a new array.
> a
> --
> Adam de Boor
> Google
Received on Friday, 7 August 2009 19:25:13 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:18 UTC