stackyFACTS
Technology

How an empty array can equal zero

HERE’S THE INTERESTING PART

Instead of strictly adhering to True or False, languages like JavaScript judge data on its emotional 'truthy' vibes. This means an empty array can magically equal the number zero if you ask it nicely enough.

How an empty array can equal zero
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