From 284d68be805dfc891d5f12d44abf73076098e70e Mon Sep 17 00:00:00 2001 From: kozbial Date: Tue, 27 Jul 2021 15:17:11 -0700 Subject: [PATCH] Update syntax for for..in loop --- core/warning.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/warning.js b/core/warning.js index e08088e94..6ed5d0c02 100644 --- a/core/warning.js +++ b/core/warning.js @@ -149,7 +149,7 @@ Warning.prototype.setText = function(text, id) { */ Warning.prototype.getText = function() { const allWarnings = []; - for (let id in this.text_) { + for (const id in this.text_) { allWarnings.push(this.text_[id]); } return allWarnings.join('\n');