Re: [css-variables] CSSVariablesMap enumeration

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