Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at cf.Objective() 2013 (Bloomington, MN) with:

Valery

Member since Dec 11, 2008

Recent Blog Comments By Valery

  • Javascript's Implicit Boolean Conversions

    Posted on Aug 13, 2007 at 6:44 AM

    Save even more chars: Empty string ("") is also false. Btw, you may use "double negation" instead of "if" statement to convert any value to boolean: var bool = !!someVar; So !!0 == false; !!1 == true; !!"ABC" == true; !!"" == false; Valery... read more »