/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function inspect(obj) { var str = ''; for (var k in obj) str += 'obj.' + k + ' = ' + obj[k] + '<br>'; (window.open('about:blank')).document.write(str); }