an>] = a[<span class="dv">2</span>];      <span class="co">// result: a = (5, 5, 5)!</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>This produces a different result than executing the assignment because <code>a[2]</code>’s value changes before it is used.</p>
</section>
</section>
<section id="multiple-indexes-with-vectors-and-matrices" class="level2">
<h2 class="anchored" data-anchor-id="multiple-indexes-with-vectors-and-matrices"