News for hackers. Stuff that matters.
Re:Today’s JavaScript, from an outsider’s perspective (2020) by MaxLeiter on Friday May 27, 2022 @03:22AM (#31526910)
Well, they expected it because it's what node told them to do.

from the article:

John runs node index.js

Node:

Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.

There are no comments on this comment yet.