S7.9_A7_T7.js (359B)
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 info: Check Var Statement for automatic semicolon insertion 6 es5id: 7.9_A7_T7 7 description: Checking if execution of "var x \n y" passes 8 ---*/ 9 10 assert.throws(ReferenceError, function() { 11 var x 12 y 13 }); 14 15 reportCompare(0, 0);