title: How to shift all values from an array but remove the last value
body: <p>I have an array like this :</p>
  <pre class="lang-js prettyprint-override"><code>const arr = [1, 2, 3, 4, 5];
  </code></pre>
  <p>And I want to shift all the values and remove the last value and put 0.<br>
  My array should look like this after the operation :</p>
  <pre class="lang-js prettyprint-override"><code>[2, 3, 4, 5, 0]
  </code></pre>
  <p>How to do this ?</p>