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