From 4e147b2593befd887a06c5dae91583019c4cbc00 Mon Sep 17 00:00:00 2001 From: kozbial Date: Tue, 27 Jul 2021 15:32:42 -0700 Subject: [PATCH] Update syntax for for..in loop --- core/workspace_audio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/workspace_audio.js b/core/workspace_audio.js index 11f16b8b1..ba1da0c95 100644 --- a/core/workspace_audio.js +++ b/core/workspace_audio.js @@ -98,7 +98,7 @@ WorkspaceAudio.prototype.load = function(filenames, name) { * @package */ WorkspaceAudio.prototype.preload = function() { - for (let name in this.SOUNDS_) { + for (const name in this.SOUNDS_) { const sound = this.SOUNDS_[name]; sound.volume = 0.01; const playPromise = sound.play();