tor-browser

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

octal-invalid-digit.js (569B)


      1 // |reftest| error:SyntaxError
      2 // Copyright (C) 2017 Robin Templeton. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 description: Octal BigInt literal containing an invalid digit
      7 esid: prod-NumericLiteral
      8 info: |
      9  NumericLiteral ::
     10    NumericLiteralBase NumericLiteralSuffix
     11 
     12  NumericLiteralBase ::
     13    DecimalLiteral
     14    BinaryIntegerLiteral
     15    OctalIntegerLiteral
     16    HexIntegerLiteral
     17 
     18  NumericLiteralSuffix :: n
     19 negative:
     20  phase: parse
     21  type: SyntaxError
     22 features: [BigInt]
     23 ---*/
     24 
     25 $DONOTEVALUATE();
     26 
     27 0o9n;