t;a&quot;, {href: link.url}, link.title)
        })
    ])
]);</code></pre>
<p>yields:</p>
<pre><code class="lang-markup">&lt;body&gt;
    &lt;ul class=&quot;nav&quot;&gt;
        &lt;li&gt;
            &lt;a href=&quot;/item1&quot;&gt;item 1&lt;/a&gt;
            &lt;a href=&quot;/item2&quot;&gt;item 2&lt;/a&gt;
            &lt;a href=&quot;/item3&quot;&gt;item 3&lt;/a&gt;
        &lt;/li&gt;
    &lt;/ul&gt;
&lt;/body&gt;</code></pre>
<p>As you can see, flow control is done with vanilla Javascript. This al