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! ~TJReceived on Tuesday, 2 July 2013 15:36:27 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:32 UTC