|
1 // Copyright 2009 the Sputnik authors. All rights reserved. |
|
2 // This code is governed by the BSD license found in the LICENSE file. |
|
3 |
|
4 /** |
|
5 * Only AssignmentExpression is admitted when variable is initialized |
|
6 * |
|
7 * @path ch12/12.2/S12.2_A8_T8.js |
|
8 * @description Checking if execution of "var x in __arr" fails |
|
9 * @negative |
|
10 */ |
|
11 |
|
12 __arr = []; |
|
13 |
|
14 ////////////////////////////////////////////////////////////////////////////// |
|
15 //CHECK#1 |
|
16 var x in __arr; |
|
17 // |
|
18 ////////////////////////////////////////////////////////////////////////////// |
|
19 |
|
20 |