blob: 10a1ad28307c7d8477d7149e0efdb5ab0268e716 [file] [log] [blame]
function test() {
return [...[1, 2, 3]][2] === 3;
}
if (!test())
throw new Error("Test failed");