Loops/Foreach: Difference between revisions
Content added Content deleted
(Bait solution) |
|||
Line 418: | Line 418: | ||
=={{header|Bait}}== |
=={{header|Bait}}== |
||
`for-in` loops work with both builtin container types (arrays and maps). |
`for-in` loops work with both builtin container types (arrays and maps). |
||
They allow to iterate the |
They allow to iterate the indices/keys and values. |
||
<syntaxhighlight lang="bait"> |
<syntaxhighlight lang="bait"> |