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
Yeah. That's semi intentional. I like being able to assign them that way too, but the way its currently implemented, that isn't allowed. I can change it if you want.
Or you can do this:
var variable;
do {
variable = func();
} while(variable);
Assignments within a while or if condition result in the compiler error "Malformed loop or if statement."
For example:
The text was updated successfully, but these errors were encountered: