News for hackers. Stuff that matters.
Re:Writing Fast, Memory-Efficient JavaScript by btipling on Monday November 05, 2012 @02:24PM (#4745323)
Why an expression and not simply `function logArrayElements`? If you do the latter you'll see more information if you wanted to introspect (toString on the function, or in an error traceback).
Re:Writing Fast, Memory-Efficient JavaScript by cmwelsh on Monday November 05, 2012 @04:10PM (#4745816)
I adapted this from some game engine code. I have updated my example to show why I wasn't using a `function` statement. Thanks.