> Modules and scripts can not always be identified by inspection.  Consider:
> 
> foo.js -------------------------------
> const answer = 42;
> ---------------------------------------
> 
> The semantics of this are quite different depending upon whether foo.js is 
> evaluated as a script or loaded as a module.

Given that module files and script files have different semantics, I would 
definitely want different file endings for them – for both humans and machines. 
1JS doesn’t apply here.

Axel

-- 
Dr. Axel Rauschmayer
[email protected]
rauschma.de



_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to