Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
proxy
/
testDirectProxyGetInherited4.js
blob: b1cf4a905339a0cfc3938372908bbda248e950a0 [
file
] [
log
] [
blame
]
// A proxy P whose target is an object X whose prototype is an array V inherits V.length.
var
V
=
[
1
,
2
,
3
];
var
X
=
Object
.
create
(
V
);
var
P
=
new
Proxy
(
X
,
{});
assertEq
(
P
.
length
,
3
);