From 2cbe4b53c60233755ee54478475b0155eacecdc8 Mon Sep 17 00:00:00 2001 From: Kirill Malev Date: Tue, 10 Mar 2020 13:50:04 +0300 Subject: [dart/en-en] Updated example 9: made 'i' variable non-final --- dart.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dart.html.markdown') 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 to List /// 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; -- cgit v1.2.3