4 ms·const $ = document.querySelectorAllby Zardoz84 9mo agoconst $ = document.querySelectorAllrecursive 9mo agoProbably have to bind the this value.Tistron 9mo agoI usually do const $ = (s, e = document) => e.querySelector(s) and a similar one for $$.