blob: ec2f8ffb5458345a176011ba2172939bfbbb7df9 (
plain)
1
2
3
4
5
6
7
|
// for-of throws if the target is a typed array prototype object.
load(libdir + "asserts.js");
assertThrowsInstanceOf(function () {
for (var v of Int8Array.prototype)
throw "FAIL";
}, TypeError);
|