blob: 92f2419d4d1cbe3ae620dcb4d5f7260850630a34 [file] [log] [blame]
function test() {
return typeof Int8Array.of === "function" &&
typeof Uint8Array.of === "function" &&
typeof Uint8ClampedArray.of === "function" &&
typeof Int16Array.of === "function" &&
typeof Uint16Array.of === "function" &&
typeof Int32Array.of === "function" &&
typeof Uint32Array.of === "function" &&
typeof Float32Array.of === "function" &&
typeof Float64Array.of === "function";
}
if (!test())
throw new Error("Test failed");