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