Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
proxy
/
testDirectProxyApply1.js
blob: a198dd14495946b0126c2b769567225eb12d4fb3 [
file
] [
log
] [
blame
]
// Forward to the target if the trap is undefined
var
target
=
function
(
x
,
y
)
{
return
x
+
y
;
}
for
(
let p of
[
new
Proxy
(
target
,
{}),
Proxy
.
revocable
(
target
,
{}).
proxy
])
assertEq
(
p
(
2
,
3
),
5
);