tmpvar/jsdom — pull request #949 by Joris-van-der-Wel (2014-11-09 16:02:34+00:00)
Title: Avoid leaking "arguments" in utils.intercept.

Also avoids a few array manipulation by speeding up the most common cases (less than 10 arguments).
These changes improve performance considerably in certain cases.
Included test case has 100% branch coverage

Fixes #948