js/src/jit-test/tests/proxy/testDirectProxyApply1.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:a796e7da7ba0
1 // Forward to the target if the trap is undefined
2 var target = function (x, y) {
3 return x + y;
4 }
5 assertEq(Proxy(target, {})(2, 3), 5);

mercurial