title: Display key value array in javascript alert
body: <p>I have a key value pair array:</p>
  
  <pre><code>    var myKeyVals = {make: "a", model: "2"};
  </code></pre>
  
  <p>Is there any easy way to format this array so that it is displayed meaningful in an alert?</p>
  
  <pre><code>    alert(myKeyVals);
  </code></pre>
  
  <p>Here I get only:</p>
  
  <pre><code>[Object object]
  </code></pre>
  
  <p>But with console.log I get:</p>
  
  <pre><code>Object {make: "a", model: "2"}
  </code></pre>