title: Object property name as number
body: <p>According to the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Values,_variables,_and_literals" rel="nofollow noreferrer">MDN JavaScript documentation</a> you can define object literal property names using integers:</p>
  <blockquote>
  <p>Additionally, you can use a numeric or string literal for the name of a property.</p>
  </blockquote>
  <p>Like so:</p>
  <pre><code>me = {
      name: &quot;Robert Rocha&quot;,
      123: 26,
      origin: &quot;Mexico&quot;
  }
  </code></pre>
  <p>My question is, how do you reference the property that has an integer as a name? I tried the usual <code>me.123</code> but got an error. The only workaround that I can think of is using a <code>for-in</code> loop. Any suggestions?</p>