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
In javascript switch is a keyword, so the following
Python
switch = False
if switch:
print("switching")
Generates the invalid
Javascript
var switch = false;
if (switch) {
print ('switching');
}
The text was updated successfully, but these errors were encountered:
I've worked around this by renaming my variable to _switch, but ideally translation would deal with this by refusing to translate or automatically renaming.
In javascript switch is a keyword, so the following
Python
switch = False
if switch:
print("switching")
Generates the invalid
Javascript
var switch = false;
if (switch) {
print ('switching');
}
The text was updated successfully, but these errors were encountered: