title: How to print object array in JavaScript?
body: <p>I have created an object array in JavaScript. How can I print the object array in the browser window, similar to <code>print_r</code> function in PHP?</p>
  
  <pre><code>var lineChartData = [{
              date: new Date(2009, 10, 2),
              value: 5
          }, {
              date: new Date(2009, 10, 25),
              value: 30
          }, {
              date: new Date(2009, 10, 26),
              value: 72,
              customBullet: "images/redstar.png"
          }];
  </code></pre>