logoalt Hacker News

kuschku • today at 10:09 PM • 1 reply • view on HN

That's why I do

  $ = (selector) => Array.from(document.querySelectorAll(selector))
Still not as good as the original, but somewhat usable at least :/

Replies

edflsafoiewq • today at 10:21 PM

There are small libraries like umbrellajs that just provide a jquery-like DOM interface if that's all you want.