W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2014

Re: map() annotation for iterables?

From: Rick Waldron <waldron.rick@gmail.com>
Date: Sat, 4 Oct 2014 13:35:35 -0400
Message-ID: <CAHfnhfqDZ7hJwMY3K-Ojuvi5-t0GCmxwm6jVdyMP+Dx8urvWmw@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: public-script-coord <public-script-coord@w3.org>
On Saturday, October 4, 2014, Anne van Kesteren <annevk@annevk.nl> wrote:

> Per https://code.google.com/p/chromium/issues/detail?id=229398#c10 we
> are giving up on getting [ArrayClass] on NodeList. iterable<> which
> gives us entries(), forEach(), Symbol.iterator, etc. is the new goal.
> bz had the thought that we could still put Array's map on the
> prototype. Would there be interest in that?
>
>
A proposal was made to add map and filter:
https://github.com/tc39/ecma262/pull/13

Rick





>
> --
> https://annevankesteren.nl/
>
>
Received on Saturday, 4 October 2014 17:36:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:23 UTC