blob: b1cf4a905339a0cfc3938372908bbda248e950a0 (
plain)
1
2
3
4
5
6
|
// 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);
|