1
// Copyright 2009 the Sputnik authors. All rights reserved.
2
// This code is governed by the BSD license found in the LICENSE file.
5
* A property is created with name length with property
6
* attributes { DontEnum } and no others
8
* @path ch10/10.6/S10.6_A5_T1.js
9
* @description Checking existence of arguments.length property
14
return arguments.hasOwnProperty("length");
18
$ERROR("#1: arguments object doesn't contains property 'length'");
22
$ERROR("#1: arguments object doesn't exists");
26
var f2 = function(){return arguments.hasOwnProperty("length");};
29
$ERROR("#2: arguments object doesn't contains property 'length'");
33
$ERROR("#2: arguments object doesn't exists");