S7.9_A6.3_T1.js (524B)
1 // |reftest| error:SyntaxError 2 // Copyright 2009 the Sputnik authors. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 5 /*--- 6 info: | 7 Check For Statement for automatic semicolon insertion. 8 If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement. 9 Don`t use semicolons 10 es5id: 7.9_A6.3_T1 11 description: For header is (\n) 12 negative: 13 phase: parse 14 type: SyntaxError 15 ---*/ 16 17 $DONOTEVALUATE(); 18 19 //CHECK#1 20 for( 21 ) { 22 break; 23 }