tor-browser

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

extensibility.js (523B)


      1 // Copyright (C) 2018 Valerie Young. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 /*---
      4 esid: sec-properties-of-asyncgeneratorfunction
      5 description: Object extensibility
      6 info: |
      7  The value of the [[Extensible]] internal slot of the AsyncGeneratorFunction
      8  constructor is true.
      9 features: [async-iteration]
     10 ---*/
     11 
     12 var AsyncGeneratorFunction = Object.getPrototypeOf(async function* () {}).constructor;
     13 
     14 assert(Object.isExtensible(AsyncGeneratorFunction));
     15 
     16 reportCompare(0, 0);