mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 21:52:31 +03:00
Merge pull request #3879 from Hiyorimi/patch-2
[dart/en-en] Updated example 9: made 'i' variable non-final
This commit is contained in:
commit
426c181542
@ -223,7 +223,7 @@ var newExplicitLists = explicitList.toList() // Converts Iterable<E> to List<E>
|
||||
/// supported features, starting with forEach,map and where.
|
||||
var example9Array = const ["a", "b"];
|
||||
example9() {
|
||||
for (final i = 0; i < example9Array.length; i++) {
|
||||
for (int i = 0; i < example9Array.length; i++) {
|
||||
print("Example9 for loop '${example9Array[i]}'");
|
||||
}
|
||||
var i = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user