1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/proxy/testDirectProxyApply3.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,8 @@ 1.4 +// Return the trap result 1.5 +assertEq(new Proxy(function (x, y) { 1.6 + return x + y; 1.7 +}, { 1.8 + apply: function (target, receiver, args) { 1.9 + return args[0] * args[1]; 1.10 + } 1.11 +})(2, 3), 6);