Seems like the second argument can only be an array - perhaps the documentation could mention this fact (?)
O. On Oct 13, 12:02 am, Oskar Krawczyk <oskar.krawc...@gmail.com> wrote: > The docs state: > > Replacement example > > fn.apply(thisArg, arguments); // Old API: fn.run(arguments, thisArg); > I'm trying this, here:http://www.jsfiddle.net/oskar/KWvA3/ > > But all I get is the following error: "Uncaught TypeError: > Function.prototype.apply: Arguments list has wrong type" > > Can someone shed some light on this situation, please?