Created
July 18, 2018 02:04
-
-
Save Spuffynism/7f31d330476bb780740b460400a0cc69 to your computer and use it in GitHub Desktop.
explain this
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
// Collection of weird JS snippets | |
// taking advantage of non-utf chars | |
thіs.x = 'a' | |
this.x // error | |
// taking advantage of regex syntax | |
/(\/)/gimuy.exec`\/`[-[~[]]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment