| // Copyright 2009 the Sputnik authors. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| info: Function's scope chain is started when it is declared |
| description: Function is declared in the object scope. Using "with" statement |
| result = (function(){return a;})(); |
| ////////////////////////////////////////////////////////////////////////////// |
| $ERROR('#1: result === 2. Actual: result ==='+result); |
| ////////////////////////////////////////////////////////////////////////////// |