mirror of
https://github.com/google/blockly.git
synced 2026-01-09 01:50:11 +01:00
Update syntax for for..in loop
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user