Questions on Map and Set based on SpiderMonkey implementation

Andreas Rossberg rossberg at google.com
Mon Jan 23 02:19:48 PST 2012


On 22 January 2012 18:52, David Bruant <bruant.d at gmail.com> wrote:
>
> SpiderMonkey implementation landed today. I was looking over the commit
> [1] and had a question.
> There is a test:
>
> assertEq(Object.prototype.toString.call(new Map), "[object Map]");

FWIW, V8 behaves the same. It's not in the spec yet, but it's the
behaviour you would interpolate.

/Andreas


More information about the es-discuss mailing list