he function’s
argument length (or an explicit <code>startIndex</code>), into an array that becomes
the last argument. Similar to ES6’s “rest parameter”.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre><span class="hljs-keyword">export</span> <span class="hljs-keyword">default</span> <span class="hljs-keyword">function</span> <span class="hljs-title function_">restArguments</span>(<span class="hljs-params">func, startIndex</span>) {
  startIndex = sta