标签: javascript ecmascript-6
是否可以在es6中导出具有动态名称的常量?
e.g:
const NAME = 'abc'; const foo = 'bar'; export {foo as NAME}