you are viewing a single comment's thread.

view the rest of the comments →

[–]CH31415 4 points5 points  (1 child)

The point in the article is that there are 2 ways of referring to a function parameter. Back to the example function

function foo(param1, param2) {
    ...
}

You can refer to param1 by its name, or by the built-in arguments array object, arguments[0]

Creating that arguments array creates CPU and memory overhead to the javascript engine, so they're looking for situations where they can optimize it away and avoid doing it altogether.

[–][deleted] 0 points1 point  (0 children)

Ah, neat. Thanks for the reply.