102
rated 0 times
[
109]
[
7]
/ answers: 1 / hits: 15082
/ 15 Years ago, fri, november 13, 2009, 12:00:00
What is the mos reliable way if I want to check if the variable is null or is not present?.
There are diferent examples:
if (null == yourvar)
if (typeof yourvar != 'undefined')
if (undefined != yourvar)
More From » javascript