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() 2010 (Minneapolis, MN) with: Jamie Krug

Steve Gauthier

Member since Jul 23, 2010

Recent Blog Comments By Steve Gauthier

  • Bug With ARGUMENTS Scope And Implicit Array / Struct Creation

    Posted on Jul 25, 2010 at 7:55 PM

    @Ben It's simply a matter of the left side evaluating before the right side. "ARGUMENTS.options" gets wiped out as soon as you implicitly create it as if you set it with ArrayNew()/StructNew(). You'll see the same issue appear javascript and other languages from time to time. Thats where the 'wor... read more »

  • Bug With ARGUMENTS Scope And Implicit Array / Struct Creation

    Posted on Jul 23, 2010 at 10:24 AM

    Not to resurrect an old post, but the workaround for this issue is to assign the arguments to another variable before attempting to overwrite it. Which fits what Todd said "What's happening is that the {} is initializing arguments.data and wiping everything out, thus, it's undefined now." <cfi... read more »