Created
August 25, 2017 13:53
-
-
Save davidicus/91af74ec17489612582b069a2d3804ad to your computer and use it in GitHub Desktop.
jQuery like selectors
This file contains hidden or 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 dqs = (query) => document.querySelector(query); | |
const dqsa = (query) => document.querySelectorAll(query); | |
let element = dqs(".classname"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment