summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testLongNumToString.js
blob: def2b47a9bbb7475b50a8e673641da64daa2c56c (plain)
1
2
3
4
5
6
7
function testLongNumToString() {
    var s;
    for (var i = 0; i < 5; i++)
        s = (0x08000000).toString(2);
    return s;
}
assertEq(testLongNumToString(), '1000000000000000000000000000');