| // Copyright 2009 the Sputnik authors. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| FunctionExpression within a "while" IterationStatement is allowed, but no |
| function with the given name will appear in the global context |
| description: Testing FunctionExpression too |
| if(typeof(f) === "function") { |
| ////////////////////////////////////////////////////////////////////////////// |
| $ERROR('#1: FunctionExpression inside while construction expression allowed but function not declare'); |
| ////////////////////////////////////////////////////////////////////////////// |