mirror of https://github.com/tc39/test262.git
19 lines
496 B
JavaScript
19 lines
496 B
JavaScript
// Copyright (C) 2020 Rick Waldron. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
/*---
|
|
description: >
|
|
ExportDeclaration : HoistableDeclaration : GeneratorDeclaration
|
|
esid: prod-HoistableDeclaration
|
|
info: |
|
|
ExportDeclaration :
|
|
HoistableDeclaration[Yield, Await, Default]:
|
|
|
|
HoistableDeclaration[Yield, Await, Default]:
|
|
GeneratorDeclaration[?Yield, ?Await, ?Default]
|
|
|
|
flags: [module]
|
|
---*/
|
|
|
|
export default function * G() {}
|
|
G.foo = '';
|