tor-browser

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

legacy-non-octal-escape-sequence-9-non-strict.js (569B)


      1 // Copyright (C) 2021 the V8 project authors. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 /*---
      4 esid: sec-literals-string-literals
      5 description: LegacyOctalEscapeSequence is not available in non-strict code - 9
      6 info: |
      7    EscapeSequence ::
      8      CharacterEscapeSequence
      9      LegacyOctalEscapeSequence
     10      NonOctalDecimalEscapeSequence
     11      HexEscapeSequence
     12      UnicodeEscapeSequence
     13 
     14    NonOctalDecimalEscapeSequence :: one of
     15      8 9
     16 flags: [noStrict]
     17 ---*/
     18 
     19 assert.sameValue('\9', '9');
     20 
     21 reportCompare(0, 0);