Y
Hacker News
new
|
ask
|
show
|
jobs
by
batista
5042 days 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);}