Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at CFinNC 2009 (Raleigh, North Carolina) with: Mike Brunt and Dan Wilson
Ben Nadel at CFinNC 2009 (Raleigh, North Carolina) with: Mike Brunt@cfwhisperer ) and Dan Wilson@DanWilson )

CWO

Member since Oct 24, 2012

Recent Blog Comments By CWO

  • Javascript's IN Operator Does Not Work With Strings

    Posted on Oct 24, 2012 at 9:40 AM

    Well, it's pretty simple, actually. Consistent results come out of consistent data. You are initialising your sting as a primitive value and your number as an object. Native values don't have properties and in particular they don't have the method 'in'. To have normalised data you can compare you ... read more »