Last active
April 10, 2022 15:06
-
-
Save oelna/58888bf1c7a75c78d190ddffb57f6d65 to your computer and use it in GitHub Desktop.
Quick $ and $$ wrappers for querySelector
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const $ = document.querySelector.bind(document); | |
const $$ = document.querySelectorAll.bind(document); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment