title: What is the type of "keys" in JavaScript?
body: <p>I bumbed into one of those moments when I just lose the focus and start wondering on a silly question:</p>
  <pre><code>var a = {
    b: &quot;value&quot;
  }
  </code></pre>
  <p>What is the typeof 'b' and I don't mean the typeof &quot;value&quot;, but the actual Key labeled as b?</p>
  <p>background:
  I started wondering about this when I had to create a key which is a string:</p>
  <pre><code>var a = {
    &quot;b&quot;: &quot;value&quot;
  }
  </code></pre>
  <p>because at a later point it is referenced as:</p>
  <pre><code>a[&quot;b&quot;]
  </code></pre>
  <p>And then ended up wondering about the original question.</p>