How to check undefined variable in Javascript
Hi folks, this comes up so often that I want to share with you on how to ‘properly’ check a variable is undefined. [javascript] if (typeof something == "undefined") { // do thing when undefined } [/javascript] Credits goes to open source communities and all developers sharing their works.
Continue Reading →