Monthly Archives: March 2017

JavaScript, comparing numbers and null

Last time I’m programming quite a lot in JavaScript. And I discovered this kind of inconsistency when comparing a null value with numbers. Let’s consider this code in JavaScript: I was assuming null value compared to numbers will behave in … Continue reading

Posted in JavaScript | Leave a comment