- startIndex, <span class="hljs-number">0</span>),
        rest = <span class="hljs-title class_">Array</span>(length),
        index = <span class="hljs-number">0</span>;
    <span class="hljs-keyword">for</span> (; index &lt; length; index++) {
      rest[index] = <span class="hljs-variable language_">arguments</span>[index + startIndex];
    }
    <span class="hljs-keyword">switch</span> (startIndex) {
      <span class="hljs-keyword">case</span> <span class="hljs-number">0</span>: <span class="hljs-keyw