3 ms·
So you're saying I should have checked the comments before opening the console? $$('.score').map(node => [node.parentElement.parentElement.parentElement.previo
by bsimpson 5y ago
So you're saying I should have checked the comments before opening the console?
$$('.score').map(node => [node.parentElement.parentElement.parentElement.previousSibling.innerText?.trim(), parseInt(node.innerText)]).sort(([,scoreA], [,scoreB]) => scoreB - scoreA)