ModuleSpecifier: include ".js" or not?

Axel Rauschmayer axel at
Tue Apr 14 15:16:57 UTC 2015

In Node.js you can either mention the file extension ".js" or omit it when you require a module. Which one is preferred for ES6 ModuleSpecifiers?



Dr. Axel Rauschmayer
axel at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list