From 3cbedf877579aeab1f453bdea331c0f74b9a517e Mon Sep 17 00:00:00 2001 From: Fawaz Ahamed Date: Tue, 10 Dec 2019 11:53:31 +0530 Subject: [PATCH] updated plugin.js from var to let --- js/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } };