Comment by Zardoz84 11 hours ago const $ = document.querySelectorAll 2 comments Zardoz84 Reply Tistron 5 hours ago I usually do const $ = (s, e = document) => e.querySelector(s) and a similar one for $$. recursive 7 hours ago Probably have to bind the this value.
Tistron 5 hours ago I usually do const $ = (s, e = document) => e.querySelector(s) and a similar one for $$.
I usually do
and a similar one for $$.
Probably have to bind the this value.