Skip to content

Instantly share code, notes, and snippets.

@tonyonodi
Last active August 29, 2015 14:10
Show Gist options
  • Save tonyonodi/04dcc3a12adf8105d322 to your computer and use it in GitHub Desktop.
Save tonyonodi/04dcc3a12adf8105d322 to your computer and use it in GitHub Desktop.
Javascript quine
// source code for a quine (excluding this comment).
console.log(function(string, delimiter) {return string.slice(0, -27) + delimiter + string + delimiter + string.slice(-27)}("console.log(function(string, delimiter) {return string.slice(0, -27) + delimiter + string + delimiter + string.slice(-27)}(, String.fromCharCode(34)))", String.fromCharCode(34)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment