summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testIntFloor.js
blob: 80b4ea741f917d1c74b22219a25fd73003997b8a (plain)
1
2
3
4
5
6
7
8
function testIntFloor() {
    var a;
    for (var x = 0; x < 3; ++x) {
	a = Math.floor('')
    }
    return a;
}
assertEq(testIntFloor(), 0)