Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
javascript ugly quine
var s="var s=\x22%\x22; console.log(s.replace(\x22%\x22,s.replace(new RegExp(String.fromCharCode(34),\x22g\x22),String.fromCharCode(92)+\x22x22\x22)))"; console.log(s.replace("%",s.replace(new RegExp(String.fromCharCode(34),"g"),String.fromCharCode(92)+"x22")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment