an class="k">val</span> <span class="n">result</span> <span class="k">=</span> <span class="n">p</span><span
                        class="o">.</span><span class="n">render</span>
<span class="n">lengthButton</span><span class="o">.</span><span class="n">onclick</span> <span class="k">=</span> <span
                        class="o">(</span><span class="n">e</span><span class="k">:</span> <span class="kt">Any</span><span
                        class="o">)</span> <span class="k">=&gt;</span> <span class="n