diff --git a/src/soundfile.js b/src/soundfile.js index c7984819..115bbe73 100644 --- a/src/soundfile.js +++ b/src/soundfile.js @@ -527,7 +527,7 @@ class SoundFile { if (s === 'restart' || s === 'sustain' || s === 'untildone') { this.mode = s; } else { - throw 'Invalid play mode. Must be either "restart", "sustain" or "untildone'; + throw 'Invalid play mode. Must be either "restart", "sustain" or "untildone"'; } }