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: * Deleting arguments[i] leads to breaking the connection to local reference michael@0: * michael@0: * @path ch13/13.0/S13_A13_T1.js michael@0: * @description Deleting arguments[i] michael@0: */ michael@0: michael@0: function __func(__arg){ michael@0: delete arguments[0]; michael@0: if (arguments[0] !== undefined) { michael@0: $ERROR('#1.1: arguments[0] === undefined'); michael@0: } michael@0: return __arg; michael@0: } michael@0: michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: //CHECK#1 michael@0: if (__func(1) !== 1) { michael@0: $ERROR('#1.2: __func(1) === 1. Actual: __func(1) ==='+__func(1)); michael@0: } michael@0: // michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: