>
<span><span class="va">trimByIndex</span><span class="op">&lt;-</span><span class="kw">function</span><span class="op">(</span><span class="va">data</span>, <span class="va">parameters</span><span class="op">)</span> <span class="op">{</span></span>
<span>    <span class="va">parameters</span><span class="op">[</span><span class="fl">1</span><span class="op">]</span> <span class="op">&lt;</span> <span class="va">data</span><span class="op">$</span><span class="va">scan</span> <span class="op">&amp;</span>