title: What is JavaScript shorthand property?
body: <pre><code>var obj = { prop = [1,2,3] };
  </code></pre>
  
  <p>The code above contains a typo, there should be a colon instead of <code>=</code>. But what surprised me was the VM error message:</p>
  
  <pre><code>var obj = { prop = [1,2,3] };
              ^^^^^^^^^^^^^^
  SyntaxError: Invalid shorthand property initializer
  </code></pre>
  
  <p>I searched for "JavaScript shorthand properties" but this term is still not clear to me. What does "Shorthand property" means in context of this error message?</p>