Source code
Revision control
Copy as Markdown
Other Tools
const testArray = [1n];
for (const constructor of anyTypedArrayConstructors) {
assertThrowsInstanceOf(() => new constructor(testArray), TypeError);
assertThrowsInstanceOf(() => new constructor(testArray.values()), TypeError);
}
if (typeof reportCompare === "function")
reportCompare(true, true);