Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
for-of
/
array-holes-7.js
blob: 05fe7d1f4e5ed4217e0fa7cdf50b77a17365f58a [
file
] [
log
] [
blame
]
// for-of visits inherited properties in an array full of holes.
Object
.
prototype
[
1
]
=
"O"
;
Array
.
prototype
[
2
]
=
"A"
;
assertEq
([
x
for
(
x of
Array
(
4
))].
join
(
","
),
",O,A,"
);