From cdc49def15d2dd2590e5f6f685cfe905bd4d5f1b Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Thu, 2 Feb 2017 14:51:02 -0500 Subject: [PATCH] create empty object for use as a map --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index a2f5f3d..9e737fe 100644 --- a/src/index.js +++ b/src/index.js @@ -139,7 +139,7 @@ function AudioPlayer (audioEngine) { this.clearEffects(); // sound players that are currently playing, indexed by the sound's md5 - this.activeSoundPlayers = Object.create({}); + this.activeSoundPlayers = Object.create(null); } AudioPlayer.prototype.playSound = function (md5) {