News for hackers. Stuff that matters.
Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge... by IshKebab on Thursday August 06, 2020 @02:14AM (#24068541)
You can also do `import x, {y} from ...`. Very confusing to learn.

I think they did it like that for compatibility with CommonJS.

There are no comments on this comment yet.