invalid-regexp-ls.js (405B)
1 // |reftest| error:SyntaxError 2 // Copyright (c) 2012 Ecma International. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 5 /*--- 6 esid: sec-line-terminators 7 es5id: 7.3-7 8 description: > 9 7.3 - ES5 recognizes the character <LS> (\u2028) as terminating 10 regular expression literals 11 negative: 12 phase: parse 13 type: SyntaxError 14 ---*/ 15 16 $DONOTEVALUATE(); 17 18 / /