summaryrefslogtreecommitdiffstats
path: root/core/src/Polyfill/console.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/Polyfill/console.js')
-rw-r--r--core/src/Polyfill/console.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/Polyfill/console.js b/core/src/Polyfill/console.js
index faa32c457c6..0d60fe6f20d 100644
--- a/core/src/Polyfill/console.js
+++ b/core/src/Polyfill/console.js
@@ -26,7 +26,7 @@ if (typeof console === 'undefined' || typeof console.log === 'undefined') {
}
const noOp = () => {}
const methods = ['log', 'debug', 'warn', 'info', 'error', 'assert', 'time', 'timeEnd']
- for (var i = 0; i < methods.length; i++) {
+ for (let i = 0; i < methods.length; i++) {
console[methods[i]] = noOp
}
}