diff --git a/control-flow.html b/control-flow.html index 375751a9..7da671c9 100644 --- a/control-flow.html +++ b/control-flow.html @@ -271,8 +271,8 @@ will immediately jump to the beginning of the next loop iteration (and check the loop conditions).

 for (i in [1, 2, 3, 4]) {
-  System.print(i)           //> 1
-  if (i == 2) continue      //> 3
+  if (i == 2) continue      //> 1
+  System.print(i)           //> 3
 }                           //> 4