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