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