tor-browser

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

multi-line-comment.js (504B)


      1 #!/*
      2 throw "Test262: This statement should not be evaluated.";
      3 these characters should not be considered within a comment
      4 */
      5 
      6 // Copyright (C) 2019 Leo Balter. All rights reserved.
      7 // This code is governed by the BSD license found in the LICENSE file.
      8 
      9 /*---
     10 esid: pending
     11 description: >
     12    Hashbang comments should not interpret multi-line comments.
     13 info: |
     14    HashbangComment::
     15      #! SingleLineCommentChars[opt]
     16 flags: [raw]
     17 negative:
     18  phase: parse
     19  type: SyntaxError
     20 features: [hashbang]
     21 ---*/