summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1518377-1.js
blob: fc2869efc0040458004267671eedb9c7ef876407 (plain)
1
2
3
4
5
6
7
Object.prototype[Symbol.toPrimitive] = inIon;
which = function() {};
for (var i = 0; i < 10; ++i) {
    s = which[which[which]];
    a = which;
    a += s + "";
}