tor-browser

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

trailing-comma-fulfill.js (723B)


      1 // |reftest| async
      2 // Copyright (C) 2021 the V8 project authors. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 /*---
      5 description: >
      6  ImportCall parameter list supports an optional trailing comma (fulfillment
      7  semantics)
      8 esid: sec-import-call-runtime-semantics-evaluation
      9 info: |
     10  ImportCall[Yield, Await]:
     11    import ( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
     12    import ( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
     13 features: [dynamic-import, import-attributes]
     14 flags: [async]
     15 ---*/
     16 
     17 import('./2nd-param_FIXTURE.js',)
     18  .then(function(module) {
     19    assert.sameValue(module.default, 262);
     20  })
     21  .then($DONE, $DONE);