blob: 040d4ca84d63f368310492fde92f9ad80c1f9c6f [file] [log] [blame]
function test() {
return typeof Array.of === 'function' &&
Array.of(2)[0] === 2;
}
if (!test())
throw new Error("Test failed");