title: Convert object to multi-dimensional array - JavaScript
body: <p>I have an object like this:</p>
  
  <pre><code>var myObj = {
      a: 1,
      b: 2,
      c: 3,
      d: 4
  };
  </code></pre>
  
  <p>And i want to convert that object to a multi-dimensional array like this:</p>
  
  <pre><code>var myArray = [['a', 1], ['b', 2], ['c', 3], ['d', 4]];
  </code></pre>
  
  <p>How could i achieve this?</p>