Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kuschku
· 1w ago · 0 comments
That's why I do
$ = (selector) => Array.from(document.querySelectorAll(selector))
Still not as good as the original, but somewhat usable at least :/
Comments
[–]
edflsafoiewq
1w ago
There are small libraries like umbrellajs that just provide a jquery-like DOM interface if that's all you want.