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