Plexus Worldwide Interview Question

What is the difference between undefined, null, and undeclared in javascript.

Interview Answer

Anonymous

Oct 5, 2024

Undefined and null obviously variables states. Undeclared is an error message, not something you use in the syntax so another weird question. Maybe they could have asked what is the difference between float, int, and division by zero, ha ha.