HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by apta | Hacker News Reader
Parent
Full thread
apta
·
No need to store a list of ages. A simple counter should suffice.
View on HN
AustinDizzy
·
Or just count the number of <tr> elements and subtract one to account for the table header. That's what I did to find the average race.
$('tr').length-1
Reply on news.ycombinator.com