| // Copyright 2009 the Sputnik authors. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| A property is created with name length with property |
| attributes { DontEnum } and no others |
| description: Overriding arguments.length property |
| var str = "something different"; |
| $ERROR("#1: A property length have attribute { ReadOnly }"); |
| $ERROR("#1: arguments object don't exists"); |
| $ERROR("#2: A property length have attribute { ReadOnly }"); |
| $ERROR("#2: arguments object don't exists"); |