[dart/en-en] Updated example 9: made 'i' variable non-final

This commit is contained in:
Kirill Malev 2020-03-10 13:50:04 +03:00 committed by GitHub
parent 9e975a8dcf
commit 2cbe4b53c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;