4 ms·
the other issue was that a module that doesn't import, export or require anything and doesn't specify strict mode will get parsed differently depending on wheth
by cwmma 8y ago
the other issue was that a module that doesn't import, export or require anything and doesn't specify strict mode will get parsed differently depending on whether it is a CJS or an ESM and their is no in band way of telling which is which
- mstade 8y agoThat’s right, thanks for the reminder! Some syntax is ambiguous yet results differ. I think that’s why I liked the unambiguous module syntax very much, it made things explicit, without much cost.