title: JavaScript array `push` with square brackets instead of parentheses - no error?
body: <p>I did this by accident...</p>
  
  <pre><code>var numbers = [1, 2, 3, 4];
  numbers.push[5];
  </code></pre>
  
  <p>Why wasn't there an error message?</p>
  
  <p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/push" rel="noreferrer">push</a> needs parentheses, not square brackets. It was just a simple typo. I wasn't paying close enough attention to what I was doing... but why wasn't there an error message?</p>
  
  <p>As far as I can tell, the numbers array wasn't modified in any way. It just did... nothing.</p>