JSFiddle - React, Tailwind, and code Playground

by Darby Rathbone

JavaScript

(function(){
    var origCall = Function.prototype.call;
Function.prototype.call = function (thisArg) {
    console.log("calling a function");
    var args = [];
    for (var i = 1;i<arguments.length;i++)
    
        args.push(arguments[i]);
//    console.log(args);
    this(thisArg);
};
console.log.call(console.log,'test');
})();