blob: 78047d05796f9a0ff06f508dfc5d01988a8d6da2 [file] [log] [blame]
function test() {
try {
Math.max(...2);
} catch(e) {
return Math.max(...[1, 2, 3]) === 3;
}
}
if (!test())
throw new Error("Test failed");