Created
November 21, 2017 02:29
-
-
Save suissa/8d9fb8bde2dd9a60fa8f02ba2632adb1 to your computer and use it in GitHub Desktop.
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 $$ = ( selector, context = document ) => | |
Array.prototype.slice.call( context.querySelectorAll( selector ) ) | |
$$( '.myjQuery' )[ 0 ].innerHTML = $$( 'div' ).length |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment