0 Comments

The concept of ‘undefined’ in JavaScript is not an easy one to fully grasp, especially if you read that in older versions of JavaScript you could overwrite this variable.

Today the question came up, whether an undefined variable would be equal (===) to another undefined variable. Turns out this comparison would yield true. Here are comparison tables for == and ===: JavaScript Comparison Table.

Post comment