I'm wondering if this is valid (or should be):

// a.js

var foo = 1;
export foo as 'a.b.c';

// b.js

import 'a.b.c' as foo from "a.js"

The reason I ask is Modules appear to support have any valid property name
(anything) as an export if the Module is defined directly using "newModule".
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to