1234567891011121314151617181920212223 |
- // Copyright (C) 2020 Rick Waldron. All rights reserved.
- // This code is governed by the BSD license found in the LICENSE file.
- /*---
- description: >
- ExportDeclaration : HoistableDeclaration : AsyncGeneratorDeclaration
- esid: prod-HoistableDeclaration
- info: |
- ExportDeclaration :
- HoistableDeclaration[Yield, Await, Default]:
- HoistableDeclaration[Yield, Await, Default]:
- AsyncGeneratorDeclaration[?Yield, ?Await, ?Default]
- flags: [module]
- negative:
- phase: parse
- type: SyntaxError
- ---*/
- $DONOTEVALUATE();
- class AG {}
- export default async function * AG() {}
|