mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
[dart/en-en] Updated example 9: made 'i' variable non-final
This commit is contained in:
parent
9e975a8dcf
commit
2cbe4b53c6
@ -224,7 +224,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