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