Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
TypedObject
/
bug969159.js
blob: 18534a60992a1bcffece6205fbbf80a6c25da48c [
file
] [
log
] [
blame
]
// Test access to a 0-sized element (in this case,
// a zero-length array).
if
(!
this
.
hasOwnProperty
(
"TypedObject"
))
quit
();
var
AA
=
TypedObject
.
uint8
.
array
(
0.
).
array
(
5
);
var
aa
=
new
AA
();
var
aa0
=
aa
[
0
];