mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-01-17 13:38:38 +01: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.
|
/// supported features, starting with forEach,map and where.
|
||||||
var example9Array = const ["a", "b"];
|
var example9Array = const ["a", "b"];
|
||||||
example9() {
|
example9() {
|
||||||
for (final i = 0; i < example9Array.length; i++) {
|
for (int i = 0; i < example9Array.length; i++) {
|
||||||
print("Example9 for loop '${example9Array[i]}'");
|
print("Example9 for loop '${example9Array[i]}'");
|
||||||
}
|
}
|
||||||
var i = 0;
|
var i = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user