numeric-separator-literal-nzd-nsl-dds-dunder-err.js (649B)
1 // |reftest| error:SyntaxError 2 // Copyright (C) 2017 the V8 project authors. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 5 /*--- 6 esid: prod-NumericLiteralSeparator 7 description: > 8 NumericLiteralSeparator may not appear adjacent to another 9 NumericLiteralSeparator in DecimalIntegerLiteral 10 info: | 11 NumericLiteralSeparator :: 12 _ 13 14 DecimalIntegerLiteral :: 15 ... 16 NonZeroDigit NumericLiteralSeparator_opt DecimalDigits 17 18 NonZeroDigit :: one of 19 1 2 3 4 5 6 7 8 9 20 21 negative: 22 phase: parse 23 type: SyntaxError 24 25 features: [numeric-separator-literal] 26 ---*/ 27 28 $DONOTEVALUATE(); 29 30 0__0123456789