4 ms·
This and you're good for selectors, but there's no right or wrong answer - use what works for you and the project. $ = document.querySelector.bind(document); $
by dpweb 12y ago
This and you're good for selectors, but there's no right or wrong answer - use what works for you and the project.
$ = document.querySelector.bind(document);
$$ = document.querySelectorAll.bind(document);