summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug621655.js
blob: 5b14df90b1a2d27d8912a862c4c0c620cc907ebb (plain)
1
2
3
4
5
6
7
8
9
10
/* Don't assert. */
for(p in 0.3) { }

Number.prototype.foo = function() {}
var arr = [];

for(p in 1.2) {
    arr.push(p);
}
assertEq(arr[0], "foo");