Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at CFUNITED 2010 (Landsdown, VA) with: Ken Auenson
Ben Nadel at CFUNITED 2010 (Landsdown, VA) with: Ken Auenson@KenAuenson )

Svend Tofte

Member since May 5, 2010

Recent Blog Comments By Svend Tofte

  • Javascript Function() Constructor Does Not Create A Closure

    Posted on May 5, 2010 at 9:49 AM

    <q>I believe the new operator takes the scope from where the object base is located, in this case the object base is "Function" and as such it is located within the window scope. ie typeof window.Function returns "function" which is why when you use function with the new operator it gives you ... read more »