Created
March 22, 2012 01:50
-
-
Save lgarron/2155083 to your computer and use it in GitHub Desktop.
Javascript Quine
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
// Very inelegant right now. | |
(function(q){return q.substr(0, q.length-1)+String.fromCharCode(39)+q+String.fromCharCode(39)+q.substr(q.length-1, q.length);})('(function(q){return q.substr(0, q.length-2)+String.fromCharCode(39)+q+String.fromCharCode(39)+q.substr(q.length-2, q.length);})()') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment