3 ms·
Try this in a browser. On Webkit at least is also returns length and item: for (var p in document.getElementsByTagName('p')) {console.log(p);}
by batista 14y ago
Try this in a browser. On Webkit at least is also returns length and item:
for (var p in document.getElementsByTagName('p')) {console.log(p);}