Hacker News new | ask | show | jobs
by kuschku 11 days ago
That's why I do

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

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