summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testIncElem4.js
blob: a3cec166114f7848d4705450997c49f49b81ed86 (plain)
1
2
3
4
5
6
7
8
9
10
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);