title: How to check if an object is not an array?
body: <p>So i have a function that needs to check if an argument is an object, but this fails because:</p>
  
  <pre><code>typeof [] // returns 'object'
  </code></pre>
  
  <p>This is a classic javascript gotcha, but i cant remember what to do to actually accept objects, but not arrays.</p>