isNaN(''); // false parseInt(''); // NaN parseInt(+''); // 0I found a bug in knockout's documentation and after reviewing the code, I found that this was the root of the confusion. I'm happy to leave you confused as well :)
Wednesday, May 2, 2012
Javascript Woes - NaN
Just think about this:
Labels:
javascript,
javascript woes,
programming
©2009-2011 Mike Gleason jr Couturier All Rights Reserved
0 comments:
Post a Comment