Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at the jQuery Conference 2009 (Cambridge, MA) with: Rey Bango
Ben Nadel at the jQuery Conference 2009 (Cambridge, MA) with: Rey Bango@reybango )

Fábio Santos

Member since Apr 2, 2014

Recent Blog Comments By Fábio Santos

  • Invoking Javascript Methods With Both Named And Ordered Arguments

    Posted on Apr 2, 2014 at 9:27 PM

    Your regex is unfortunately broken by embedding a coment in the parameter list of the function. You can close the parens so more arguments are invisible, or just outright break a parameter name. (function(/*)*/ myParamNameWithAComment, my, secret, parameters) {}).toString() But having comments in ... read more »