michael@0: // Copyright 2009 the Sputnik authors. All rights reserved. michael@0: // This code is governed by the BSD license found in the LICENSE file. michael@0: michael@0: /** michael@0: * The activation object is initialised with a property with name arguments and attributes {DontDelete} michael@0: * michael@0: * @path ch10/10.1/S10.1.6_A1_T3.js michael@0: * @description Checking function which returns "this" michael@0: * @noStrict michael@0: */ michael@0: michael@0: function f1() { michael@0: if (delete arguments) { michael@0: $ERROR("#1: Function parameters have attribute {DontDelete}" + arguments); michael@0: } michael@0: return arguments; michael@0: } michael@0: michael@0: f1(); michael@0: