mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 22:28:45 +01:00
docs; fix example with 'continue' (#1007)
This commit is contained in:
@ -187,8 +187,8 @@ loop conditions).
|
||||
|
||||
<pre class="snippet">
|
||||
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
|
||||
</pre>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user