Status: Accepted
Owner: a...@chromium.org
CC: ad...@chromium.org, jsb...@chromium.org
Labels: Type-Bug Priority-Medium
New issue 3515 by a...@chromium.org: Map and Set needs to normalize minus
zero
http://code.google.com/p/v8/issues/detail?id=3515
We need to normalize the key from -0 to +0 since the key is exposed in the
iteration.
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-map.prototype.set,
step 7
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-set.prototype.add,
step 7
This is observable using things like
var m = new Map();
m.sett(-0, 1);
assertSame(+0, m.keys().next().value)
and similar for Set
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.