title: javascript - what kind of thing in a var
body: <p>I've got either a literal object or one of it's components in var Z.  Ie. one of the following</p>
  
  <pre><code>var Q = {"name" : 123};
  
  Z = Q; 
  Z = Q["name"];
  </code></pre>
  
  <p>how can I determine which it is?</p>