stackyFACTS
Technology

JavaScript still calls null an object

HERE’S THE INTERESTING PART

Ah, the beauty of legacy code that can never be fixed. Due to a rushed implementation in the early days of JavaScript, checking the type of an absolutely empty 'null' value returns 'object', a legendary bug that is now permanent because fixing it would break the entire digital world.

JavaScript still calls null an object
STACKY / Technology
One discovery leads to another.

Keep exploring facts in this topic.

Technology →
STACKY FOR IPHONE

A bigger world.
One discovery
at a time.

Keep discovering with Stacky. Interesting facts in an app that is always within reach.

Download on the App Store
ONE MORE DISCOVERY?

Keep exploring

All in this topic →
StackyMore discoveries in the app
Download on the App Store