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