I noticed something curious earlier today. I can\'t seem to store a reference to the call property of a function, then execute it. Example:
call
var
You need to keep the binding to console. Try this:
var logCall = console.log.call.bind(console.log); // example: logCall(console, "foobar");
or
var log = console.log.bind(console); // example: log("foobar");
For a bound reference to log.
log
Edit: jsfiddle: http://jsfiddle.net/67mfQ/2/