[ad_1]
You cannot have anything aside from cases inside of a switch statement.
Your error is that you start to use a variable inside of a switch without a case.
[ad_2]
solved Why did I get: `Uncaught SyntaxError: Unexpected token const`
[ad_1]
You cannot have anything aside from cases inside of a switch statement.
Your error is that you start to use a variable inside of a switch without a case.
[ad_2]
solved Why did I get: `Uncaught SyntaxError: Unexpected token const`