tor-browser

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

preceding-hashbang.js (503B)


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