diff options
author | Kirill Malev <playittodeath@gmail.com> | 2020-03-10 13:50:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-10 13:50:04 +0300 |
commit | 2cbe4b53c60233755ee54478475b0155eacecdc8 (patch) | |
tree | 843f95f48b1e1d7b71123fc13227a3445c661810 /dart.html.markdown | |
parent | 9e975a8dcf821ea385742cfe9088d72388d08e43 (diff) |
[dart/en-en] Updated example 9: made 'i' variable non-final
Diffstat (limited to 'dart.html.markdown')
-rw-r--r-- | dart.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dart.html.markdown b/dart.html.markdown index 2672dc6a..0a9140ac 100644 --- a/dart.html.markdown +++ b/dart.html.markdown @@ -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; |