That's why I do
$ = (selector) => Array.from(document.querySelectorAll(selector))
There are small libraries like umbrellajs that just provide a jquery-like DOM interface if that's all you want.
There are small libraries like umbrellajs that just provide a jquery-like DOM interface if that's all you want.