Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/literals/numeric/numeric-separator-literal-dd-dot-dd-ep-sign-plus-dd-nsl-dd.js

raw
1 // Copyright (C) 2017 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: prod-NumericLiteralSeparator
6 description: >
7 DecimalDigits `.` DecimalDigits ExponentPart_opt `+` DecimalDigits
8 info: |
9 NumericLiteralSeparator ::
10 _
11
12 DecimalLiteral ::
13 DecimalIntegerLiteral . DecimalDigits_opt ExponentPart_opt
14
15 DecimalDigits ::
16 ...
17 DecimalDigits NumericLiteralSeparator DecimalDigit
18
19 SignedInteger ::
20 ...
21 + DecimalDigits
22 ...
23
24 features: [numeric-separator-literal]
25 ---*/
26
27 assert.sameValue(1.0e+1_0, 1.0e+10);