title: hasOwnProperty with more than one property
body: <p>I'm trying to discover if an object has some properties and I'm having trouble using the hasOwnProperty method.</p>
  
  <p>I'm using the method on an array (I know the documentation states a string).</p>
  
  <p>The following line returns true:</p>
  
  <pre><code>{ "a": 1, "b": 2 }.hasOwnProperty( ["a"]);
  </code></pre>
  
  <p>This line returns also true:</p>
  
  <pre><code>{ "a": 1, "b": 2 }.hasOwnProperty( "a", "b");
  </code></pre>
  
  <p>But this one returns false:</p>
  
  <pre><code>{ "a": 1, "b": 2 }.hasOwnProperty( ["a", "b"])
  </code></pre>
  
  <p>And I need it to return true. I'm using Object.keys(object) to get the properties that I'm using, and it returns me an array, so I need to use an array on hasOWnProperty.</p>
  
  <p>Is there some theoric concept I'm missing? And is there some way to fix this problems?</p>