2
0

export-default-function-declaration-binding.js 492 B

123456789101112131415161718
  1. // Copyright (C) 2020 Rick Waldron. All rights reserved.
  2. // This code is governed by the BSD license found in the LICENSE file.
  3. /*---
  4. description: >
  5. ExportDeclaration : HoistableDeclaration : FunctionDeclaration
  6. esid: prod-HoistableDeclaration
  7. info: |
  8. ExportDeclaration :
  9. HoistableDeclaration[Yield, Await, Default]:
  10. HoistableDeclaration[Yield, Await, Default]:
  11. FunctionDeclaration[?Yield, ?Await, ?Default]
  12. flags: [module]
  13. ---*/
  14. export default function F() {}
  15. F.foo = '';