News for hackers. Stuff that matters.
Re:Null is an Object in JavaScript by jraph on Wednesday February 08, 2023 @05:27AM (#34706341)
A lot of people are still writing raw JS code, including me, because the tooling around this is way more lightweight and straightforward, or because of over things.

But yeah, as a preprocessing step, I'd argue a linter rule would be one of the best way to handle such a quirk if you are using bare JS (or TypeScript, which inherits this quirk, by the way)

There are no comments on this comment yet.