tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

numeric-separator-literal-oil-od-nsl-ods.js (651B)


      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  `0o` | `0O` OctalDigit NumericLiteralSeparator OctalDigit
      8 info: |
      9  NumericLiteralSeparator ::
     10    _
     11 
     12  OctalIntegerLiteral ::
     13    0o OctalDigits
     14    0O OctalDigits
     15 
     16  OctalDigits ::
     17    OctalDigit
     18    OctalDigits OctalDigit
     19    OctalDigits NumericLiteralSeparator OctalDigit
     20 
     21  OctalDigit :: one of
     22    0 1 2 3 4 5 6 7
     23 
     24 features: [numeric-separator-literal]
     25 ---*/
     26 
     27 assert.sameValue(0o0_10, 0o010);
     28 assert.sameValue(0O0_10, 0O010);
     29 
     30 reportCompare(0, 0);