Source code

Revision control

Copy as Markdown

Other Tools

var counter = 0;
var x = { toString: function() { counter++; } };
var y = {};
for (var i = 0; i < 50; i++)
++y[x];
// :FIXME: bug 672076
//assertEq(counter, 50);