Last active
August 29, 2017 13:49
-
-
Save dom111/a7af7fa0894a7b74d870353f523c913a 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
s='s=S;console.log(s.replace(/S/,(q=String.fromCharCode(39))+s+q))';console.log(s.replace(/S/,(q=String.fromCharCode(39))+s+q)) | |
// or | |
s='s=S;q=String.fromCharCode(39);console.log(s.replace(/S/,q+s+q))';q=String.fromCharCode(39);console.log(s.replace(/S/,q+s+q)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment