summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/recompile/bug659639.js
blob: 4e7ffe28800d959c88fa00b1a766f50ef07dc113 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
test();
function iso(d) { new Date(d).toISOString() }
function check(s,millis) { iso(millis); }
function dd(year, month, day, hour, minute, second, millis) {
    return Date.UTC(year, 1, day, hour, minute, second, millis);
}
function test() {
    try {
        check("", 20092353211)
        check("", 2009)
        check("", 0)
        check("", dd(BUGNUMBER, 7, 23, 19, 53, 21, 1))
    } catch (e) {}
}
var BUGNUMBER = "10278";
test()