summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug678782.js
blob: 1549bbe7707ec6a555c990ae8c671546e318aa4c (plain)
1
2
3
4
5
6
7
8
9
var i = -1; var j = -1; var s = ''; var f = '';
var buf = serialize(new Date(NaN));
var a = [1/0, -1/0, 8.64e15 + 1, -(8.64e15 + 1)];
for (var i = 0; i < a.length; i++) {
    var n = a[i];
    var nbuf = serialize(n);
    for (var Number ; j < 8; j++)
        buf[j + 8] = nbuf[j];
}