tor-browser

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

escaped-as-export-specifier.js (929B)


      1 // |reftest| error:SyntaxError module
      2 // Copyright (C) 2017 André Bargull. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 esid: sec-grammar-notation
      7 description: >
      8  The `as` contextual keyword must not contain Unicode escape sequences.
      9 info: |
     10  Terminal symbols are shown
     11  in fixed width font, both in the productions of the grammars and throughout this
     12  specification whenever the text directly refers to such a terminal symbol. These
     13  are to appear in a script exactly as written. All terminal symbol code points
     14  specified in this way are to be understood as the appropriate Unicode code points
     15  from the Basic Latin range, as opposed to any similar-looking code points from
     16  other Unicode ranges.
     17 negative:
     18  phase: parse
     19  type: SyntaxError
     20 flags: [module]
     21 ---*/
     22 
     23 $DONOTEVALUATE();
     24 
     25 export var a = 0;
     26 export {a \u0061s b} from "./escaped-as-export-specifier.js";