- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 2 Jul 2013 08:35:40 -0700
- To: Erik Arvidsson <arv@chromium.org>
- Cc: Alan Cutter <alancutter@chromium.org>, Boris Zbarsky <bzbarsky@mit.edu>, www-style list <www-style@w3.org>
Please don't top-post. On Tue, Jul 2, 2013 at 6:28 AM, Erik Arvidsson <arv@chromium.org> wrote: > This thread has a few errors in it. > > The methods are called entries, keys and values. entries is the default > iterator (Map.prototype.entries = Map.prototype[@@iterator]). > > entries, keys and values returns an iterator (not an Array). That is an > object that as a next method that returns {value: any, done, boolean}. Long since fixed in the draft and WebIDL. ^_^ > FWIW, for-of is available in Chrome too (behind a flag though :'( ) !_! Turning it on now! ~TJ
Received on Tuesday, 2 July 2013 15:36:27 UTC