jscript: Added more apply and call tests.

This commit is contained in:
Jacek Caban 2012-06-25 14:09:12 +02:00 committed by Alexandre Julliard
parent 14138e6f09
commit 7dcd1d06ef
1 changed files with 2 additions and 0 deletions

View File

@ -1644,9 +1644,11 @@ function callTest(argc) {
callTest.call(tmp, 1, 1);
callTest.call(tmp, 2, 1, 2);
callTest.call(tmp, 3, 1, 2, 3);
callTest.apply(tmp, [1, 1]);
callTest.apply(tmp, [2, 1, 2]);
callTest.apply(tmp, [3, 1, 2, 3]);
(function () { callTest.apply(tmp, arguments); })(2,1,2);
function callTest2() {