-
-
Save finom/9697f44a1be1b091e689c461638a6dd3 to your computer and use it in GitHub Desktop.
DOM-ready in 81 ASCII chars; can you do smaller?
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
r=(f,d=document)=>d.readyState[0]=='l'?d.addEventListener('DOMContentLoad',f):f() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment