2015-05-08 17:27:52 +02:00
|
|
|
// Copyright (c) 2012 Ecma International. All rights reserved.
|
2015-07-17 17:42:45 +02:00
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
2015-05-08 17:27:52 +02:00
|
|
|
|
|
|
|
/*---
|
|
|
|
es5id: 10.6-6-4
|
|
|
|
description: >
|
|
|
|
'length' property of arguments object for 0 argument function call
|
|
|
|
is 0 even with formal parameters
|
|
|
|
---*/
|
|
|
|
|
2015-08-13 17:31:54 +02:00
|
|
|
function testcase(a,b,c) {
|
2023-09-13 13:34:46 +02:00
|
|
|
assert.sameValue(arguments.length, 0);
|
|
|
|
}
|
2015-08-13 17:31:54 +02:00
|
|
|
testcase();
|