W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2013

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 27 Jun 2013 18:19:41 -0400
Message-ID: <51CCBA7D.9080201@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: "public-script-coord@w3.org" <public-script-coord@w3.org>
On 6/27/13 6:13 PM, Tab Atkins Jr. wrote:
>> How would one copy one Map into another in ES?  Presumably whatever the
>> idiom is for that is how this should work...
> Using the constructor:
> var m2 = new Map(m1);

That's if you're creating the copy yourself.  How would you do it if 
you're copying into a Map someone provided to you?

Received on Thursday, 27 June 2013 22:20:10 UTC

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