Sign in
webkit
/
WebKit
/
fff5469af9e21121a01bc52b64d66a2e93b51665
/
.
/
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"
);