Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
for-of
/
array-comprehension.js
blob: 1641d0cd0a4aaf74076bc49f009297b817b27d30 [
file
] [
log
] [
blame
]
// for-of can be used in array comprehensions.
assertEq
([
x
*
x
for
(
x of
[
1
,
2
,
3
])].
join
(),
"1,4,9"
);