Fixing tests of internal test suite.

This commit is contained in:
Ruben Ayrapetyan
2014-11-06 17:39:24 +03:00
parent e33e6a77cb
commit 7c488ea11a
21 changed files with 50 additions and 25 deletions
@@ -16,4 +16,4 @@ f_arg = function () {
return arguments;
}
assert(f_arg(1, 2, 3)[3] !== undefined);
assert(f_arg(1, 2, 3)[3] === undefined);
@@ -16,4 +16,11 @@ f_arg = function () {
return arguments;
}
assert(f_arg(1, 2, 3)[3] !== undefined);
var args = f_arg (1, 2, 3);
for (var i = 0; i < 3; i++)
{
assert(args[i] === i + 1);
}
assert(args[3] === undefined);