| // Copyright 2009 the Sputnik authors. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| info: "\"for(key in null)\" Expression is allowed" |
| description: Checking if execution of "for(key in null)" passes |
| ////////////////////////////////////////////////////////////////////////////// |
| $ERROR('#1: "for(__key in null){}" does not lead to throwing exception'); |
| ////////////////////////////////////////////////////////////////////////////// |
| ////////////////////////////////////////////////////////////////////////////// |
| $ERROR('#2: key === undefined. Actual: key ==='+key); |
| ////////////////////////////////////////////////////////////////////////////// |