test262/test/language/module-code/export-expname-from-string.js

22 lines
545 B
JavaScript
Raw Normal View History

2020-09-29 22:32:01 +02:00
// Copyright (C) 2020 Bradley Farias. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
ExportFromClause : NamedExports
esid: prod-ExportFromClause
info: |
ExportFromClause :
NamedExports[+From]
NamedExports[From] :
[+From] ModuleExportName
ModuleExportName : StringLiteral
flags: [module]
---*/
import * as Scouts from "./export-expname-from-string.js";
export { "☿" } from "./export-expname_FIXTURE.js";
assert.sameValue(typeof Scouts["☿"], "function");