Can some tell me why the following code returns true in JavaScript?
console.log(true > null); //returns true





Rating:
The post Why does (true > null) always return true in JavaScript? appeared first on Javascript ASK.
via Javascript ASK http://javascriptask.phpfogapp.com/why-does-true-null-always-return-true-in-javascript.html
No comments:
Post a Comment