You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a really old issue, but if you are still having this issue, from my experience you need to group the closing bracket with the else like so <% } else { %> instead of <% } %> <% else { %>
Do not understand, but i have errors, while use switch or if/else op...
Somethin like this :
<% switch ( state ) { %>
<% case 0: %>
some text
<% break; %>
<% case 1: %>
another one
<% break; %>
<% } %>
or this :
<% if (state == 0) { %>
First state
<% } %>
<% else if (state == 1) { %>
Second state
<% } %>
but simple 'if' op is works
Error: " SyntaxError: Unexpected token ; "
The text was updated successfully, but these errors were encountered: