News for hackers. Stuff that matters.
Re:Poll: Where do you live? by gabrielsroka on Friday February 04, 2022 @04:10PM (#30213265)
with tie breakers

     console.table([...document.querySelectorAll('.fatitem table .athing')].map(el => ({place: el.textContent.trim(), score: parseInt(el.nextSibling.textContent)})).sort((a, b) => b.score - a.score || a.place.localeCompare(b.place)))

There are no comments on this comment yet.