/code> evaluates to
the new value.
</p>
<h2 id="Using-an-array-as-a-stack">Using an array as a stack
</h2>
<p>Arrays can also be used for implementing efficient stacks. The Janet core
library provides three functions that can be used to treat an array as a stack.
</p>
<ul><li><code class="mendoza-code">(array/push stack value)</code></li>
    <li><code class="mendoza-code">(array/pop stack)</code></li>
    <li><code class="mendoza-code">(array/peek stack)</code></li></ul><h3><code class="mendoza-code">(arra