News for hackers. Stuff that matters.
Re:Reducing Code Nesting by ricardobeat on Monday January 02, 2012 @06:18AM (#3415543)
I tend to favor one of these for clarity:

    Array.prototype.push.bind(accum)
    [].push.bind(accum)
(i realize the latter is wasteful, but arrays are so cheap that you wouldn't notice unless in a hot loop)

There are no comments on this comment yet.