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_T1.js michael@0: * @description Checking if deleting function parameter is possible michael@0: * @noStrict michael@0: */ michael@0: michael@0: //CHECK#1 michael@0: function f1(a){ michael@0: delete a; michael@0: return a; michael@0: } michael@0: if (f1(1) !== 1) michael@0: $ERROR('#1: Function parameter was deleted'); michael@0: michael@0: