title: Object as object property name?
body: <p>Is this possible in javascript?</p>
  
  <p>I'm trying to set the property name of an object to be a "HTMLInputElement":</p>
  
  <pre><code>var el = $('#something').get(0),
      obj = {};
  
  obj[el] = 'some random data'; 
  </code></pre>
  
  <p>but I don't think it works :(</p>
  
  <p>I get some error:</p>
  
  <blockquote>
    <p>ncaught Error: Syntax error, unrecognized expression: [object
    HTMLInputElement]</p>
  </blockquote>
  
  <p>But I'm not sure if it's because of what I'm trying to do :)</p>
  
  <p>However when I console.log(obj), it looks fine, with "object HTMLInputElement" inside key names, but I don't know if it's a real object, or just some string</p>