Debian Codegraph @

js/src/tests/test262/language/arguments-object/10.6-6-4.js

raw
1 // Copyright (c) 2012 Ecma International. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 es5id: 10.6-6-4
6 description: >
7 'length' property of arguments object for 0 argument function call
8 is 0 even with formal parameters
9 flags: [noStrict]
10 ---*/
11
12 function testcase() {
13 var arguments= undefined;
14 (function (a,b,c) { assert.sameValue(arguments.length, 0); })();
15 }
16 testcase();
17
18 reportCompare(0, 0);