test262/test/language/arguments-object/10.6-6-4-s.js

15 lines
372 B
JavaScript
Raw Normal View History

// 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.
/*---
es5id: 10.6-6-4
description: >
'length' property of arguments object for 0 argument function call
is 0 even with formal parameters
---*/
function testcase(a,b,c) {
2023-09-13 13:34:46 +02:00
assert.sameValue(arguments.length, 0);
}
testcase();