export-expname-binding-string.js (620B)
1 // |reftest| module 2 // Copyright (C) 2020 Bradley Farias. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 /*--- 5 description: Module Namespace Objects can have non-Identifier properties 6 esid: prod-ExportSpecifier 7 info: | 8 ExportSpecifier[From] : 9 IdentifierName `as` ModuleExportName 10 11 ModuleExportName : StringLiteral 12 13 flags: [module] 14 features: [arbitrary-module-namespace-names] 15 ---*/ 16 import * as Scouts from "./export-expname_FIXTURE.js"; 17 18 assert.sameValue(Scouts.Mercury, globalThis.Mercury); 19 assert.sameValue(Scouts["☿"], globalThis.Mercury); 20 21 reportCompare(0, 0);