Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Function.prototype.apply.call(console[level], console, argsWithFormat);

Window.call.apply(function foo() { console.log('foo'); });
 Run code snippet
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
3+2 =