Re: [webidl] Add a [Maplike] tag?

On 6/27/13 2:24 PM, Tab Atkins Jr. wrote:
> One thing that seems to be lacking is a way to set a [MapClass]
> attribute with an existing Map.  Right now I'd have to do:
>
> el.style.var.clear();
> m.forEach(function(v,k) { el.style.var.set(k,v); });

How would one copy one Map into another in ES?  Presumably whatever the 
idiom is for that is how this should work...

-Boris

Received on Thursday, 27 June 2013 22:08:35 UTC