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 CFinNC 2009 (Raleigh, North Carolina) with: Simon Free and Todd Sharp and Shannon Hicks and Charlie Arehart and Sean Corfield and Jason Dean

eval is evil

Member since May 5, 2010

Recent Blog Comments By eval is evil

  • Javascript Function() Constructor Does Not Create A Closure

    Posted on May 5, 2010 at 5:36 AM

    In my opinion if you are using new Function your missing the power of closures. However if you really need this try function(){eval("...")} var foo = "win"; (function(){ var foo = "fun"; (function(){eval("console.log('eval: ' + foo)")})(); (new Function("console.log('Func: ' + foo)"))(); (f... read more »