Skip to content

Instantly share code, notes, and snippets.

@kjelly
Created April 21, 2020 14:51
Show Gist options
  • Save kjelly/b322605f06b6e9fc7e7edf10a7efbb22 to your computer and use it in GitHub Desktop.
Save kjelly/b322605f06b6e9fc7e7edf10a7efbb22 to your computer and use it in GitHub Desktop.
very simple dart
void main1() {
int i = 0;
for (int i = 0; i < 5; i++) {
print(i);
}
print(i);
}
void main2() {
for (int i = 0; i < 5; i++) {
print(i);
}
}
void main() {
main1();
main2();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment