Working Fine then Stopped

I’m working on the Drum Machine and had gotten pretty far on it. It was working fine up until this point.

I tried to hunt down some errors, but everything just started not working. It brings up an unexpected token at around 58:11, but I don’t see where else it could be causing this issue.

Link: https://codepen.io/astillround7hief/pen/BamxbVy?editors=0110

I think you are missing a closing curly brace on the constructor.

Aaand, magic fix. Thank you!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.