Comment by Zardoz84 21 days ago const $ = document.querySelectorAll 2 comments Zardoz84 Reply Tistron 20 days ago I usually do const $ = (s, e = document) => e.querySelector(s) and a similar one for $$. recursive 21 days ago Probably have to bind the this value.
Tistron 20 days 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.