tor-browser

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

parse-export-empty.js (920B)


      1 // |reftest| module
      2 // Copyright (C) 2016 the V8 project authors. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 /*---
      5 description: A NamedExport does not require an ExportsList.
      6 esid: sec-parsemodule
      7 info: |
      8    ExportDeclaration:
      9      export * FromClause;
     10      export * as IdentifierName FromClause;
     11      export NamedExports FromClause;
     12      export NamedExports;
     13      export VariableStatement
     14      export Declaration
     15      export default HoistableDeclaration[Default]
     16      export default ClassDeclaration[Default]
     17      export default [lookahead ∉ { function, class }] AssignmentExpression[In];
     18 
     19    NamedExports:
     20      { }
     21      { ExportsList }
     22      { ExportsList , }
     23 
     24    NOTE: This form has no observable side effects.
     25 flags: [module]
     26 ---*/
     27 
     28 export{};
     29 export {};
     30 export {}
     31 export { };
     32 export
     33 {
     34 
     35 };
     36 export//-
     37 {//-
     38 //-
     39 };
     40 export/**/{/**/};
     41 
     42 reportCompare(0, 0);