Please Visit: http://ift.tt/1ajReyV
from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1ggWJRs
via LifeLong Community
Checking for undefined: === versus typeof versus falsiness
http://ift.tt/15pSGBZ
if (x === undefined) ...
if (typeof x === 'undefined') ...
if (!x) ...
The usual caveat applies: The condition of the above if statement will also be true for: null, false, -0, +0, NaN, "".
http://ift.tt/15pSGBZ
if (x === undefined) ...
if (typeof x === 'undefined') ...
if (!x) ...
The usual caveat applies: The condition of the above if statement will also be true for: null, false, -0, +0, NaN, "".
from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1ggWJRs
via LifeLong Community
No comments:
Post a Comment