Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
for-of
/
typedarrays-4.js
blob: ec2f8ffb5458345a176011ba2172939bfbbb7df9 [
file
] [
log
] [
blame
]
// 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
);