最佳答案
I have created an object array in JavaScript. How can I print the object array in the browser window, similar to print_r
function in PHP?
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"
}];