Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
CraigJPerry
on May 19, 2022
|
parent
|
context
|
favorite
| on:
Gov.uk drops jQuery from their front end
If i'm following right, i think this expression would match?
Array.from(document.getElementsByClassName("sth")).map(e => e.closest("ul"))
The jQuery is definitely nicer to read than this though
zimpenfish
on May 19, 2022
[–]
Yeah, that seems to do the same.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: