diff --git a/js/plugins.js b/js/plugins.js index 35d694b..c64a9b5 100644 --- a/js/plugins.js +++ b/js/plugins.js @@ -6,7 +6,7 @@ window.log = function(){ log.history.push(arguments); if(this.console) { arguments.callee = arguments.callee.caller; - var newarr = [].slice.call(arguments); + let newarr = [].slice.call(arguments); (typeof console.log === 'object' ? log.apply.call(console.log, console, newarr) : console.log.apply(console, newarr)); } };