summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testStringToInt32.js
blob: ca1ca349faf8eaf68728b6772f5dfc9d72c3a9b6 (plain)
1
2
3
4
5
6
function testStringToInt32() {
    var s = "";
    for (let j = 0; j < 5; ++j) s += ("1e+81" ^  3);
    return s;
}
assertEq(testStringToInt32(), "33333");