Debian Codegraph @

js/src/tests/test262/language/literals/numeric/numeric-separators/numeric-separator-literal-dot-dds-nsl-ep-err.js

raw
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: NumericLiteralSeparator may not appear adjacent to ExponentPart
8 info: |
9 NumericLiteralSeparator ::
10 _
11
12 DecimalLiteral ::
13 . DecimalDigits ExponentPart_opt
14
15 DecimalDigits ::
16 ...
17 DecimalDigits NumericLiteralSeparator DecimalDigit
18
19 ExponentIndicator :: one of
20 e E
21
22 negative:
23 phase: parse
24 type: SyntaxError
25
26 features: [numeric-separator-literal]
27 ---*/
28
29 $DONOTEVALUATE();
30
31 .0_e1