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: * Nested function are admitted michael@0: * michael@0: * @path ch13/13.2/S13.2_A2_T1.js michael@0: * @description Nesting level is two michael@0: */ michael@0: michael@0: var __JEDI="jedi"; michael@0: michael@0: function __FUNC(){ michael@0: function __GUNC(){ michael@0: return arguments[0]; michael@0: }; michael@0: michael@0: return __GUNC; michael@0: }; michael@0: michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: //CHECK#1 michael@0: if (__FUNC()(__JEDI) !== __JEDI) { michael@0: $ERROR('#1: __FUNC()(__JEDI) === __JEDI. Actual: __FUNC()(__JEDI) ==='+__FUNC()(__JEDI)); michael@0: } michael@0: // michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: