News for hackers. Stuff that matters.
Re:Null is an Object in JavaScript by andrewmackrodt on Wednesday February 08, 2023 @04:46AM (#34706113)
If a language change were to update `typeof null` to return `"null"` isObject would not break, the second condition would only be unnecessary.

However, other code which may make assertions on null values after checking the value is an object would break.

There are no comments on this comment yet.