Sign in
webkit
/
WebKit
/
2ab9dfaee5c791e0d7b2c0893a55ced8677e2e2a
/
.
/
JSTests
/
es6
/
for..of_loops_with_arrays.js
blob: 2a4b85218c84639b8ab64efeef81380365257586 [
file
] [
log
] [
blame
]
function
test
()
{
var
arr
=
[
5
];
for
(
var
item of arr
)
return
item
===
5
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);