Hi,

In Firefox Aurora as well as in Chromium 18, running the following
-----
var wm = new WeakMap();
var o = {};

Object.preventExtensions(wm);

wm.set(o, 1);
console.log(wm.get(o)); // 1
-----

Is this something that is wanted?
Same question for Maps and Sets.

David
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to