blob: 3bf5b80d9e1a7136afad8b4a3b90d7d7a0230ce8 [file] [log] [blame]
function assert(b) {
if (!b)
throw new Error("Bad!")
}
function min() {
return Math.min();
}
function max() {
return Math.max();
}
function test() {
for (let i = 0; i < 10000; i++) {
assert(min() === Infinity);
assert(max() === -Infinity);
}
}
test();