title: What is the correct way to add an element value to the end of a Javascript array?
body: <p>Which one?</p>
  
  <ul>
  <li><code>arr[arr.length+1] = value</code></li>
  <li><code>arr[arr.length] = value</code></li>
  <li><code>arr[arr.length-1] = value</code></li>
  <li><code>arr = arr + value</code></li>
  </ul>