Hi,
In Firefox 80, we'll ship the `export * as ns from "mod";` JavaScript syntax.

*Bug: *https://bugzilla.mozilla.org/show_bug.cgi?id=1496852
*Standard: *https://github.com/tc39/ecma262/pull/1174
*Platform coverage: *All, no pref
*DevTools bug: *N/A.

*Other browsers: *Shipping in Chrome

*Testing: *https://github.com/tc39/test262/tree/master/test/language/module-code

*Use cases: *This change allows export-from syntax to export module namespace 
proxies on behalf of other modules. This provides more flexibility when 
composing modules using the
existing export-from syntax.

Code that previously looked like:
  import * as ns from "mod";
  export ns;

Can now be directly expressed as:
  export * as ns from "mod";

*Secure contexts:* This is a JS language feature and is therefore present in 
all contexts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to