Skip to content

Instantly share code, notes, and snippets.

@RedHatter
Created December 22, 2020 02:18
Show Gist options
  • Save RedHatter/bf5ef1543eda4edac1a90d670d78fa67 to your computer and use it in GitHub Desktop.
Save RedHatter/bf5ef1543eda4edac1a90d670d78fa67 to your computer and use it in GitHub Desktop.
Else if example
main () {
var a = 2;
var b = [
if (a == 1)
1
else if (a == 2)
2
];
print(b);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment