PageRenderTime 25ms CodeModel.GetById 18ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/js/src/jit-test/tests/jaeger/recompile/bug659639.js

http://github.com/zpao/v8monkey
JavaScript | 16 lines | 16 code | 0 blank | 0 comment | 0 complexity | 449b1006ca8eb7e0fa921eacb54accd5 MD5 | raw file
 1test();
 2function iso(d) { new Date(d).toISOString() }
 3function check(s,millis) { iso(millis); }
 4function dd(year, month, day, hour, minute, second, millis) {
 5    return Date.UTC(year, 1, day, hour, minute, second, millis);
 6}
 7function test() {
 8    try {
 9        check("", 20092353211)
10        check("", 2009)
11        check("", 0)
12        check("", dd(BUGNUMBER, 7, 23, 19, 53, 21, 1))
13    } catch (e) {}
14}
15var BUGNUMBER = "10278";
16test()