summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testSetelemWithFloatIndex.js
blob: 20ec89758698fe0fcf3d6db6c97a495843efaf2c (plain)
1
2
3
4
var x, a = {};
for (var i = 0; i < 9; i++)
    x = a[-3.5] = "ok";
assertEq(x, "ok");