Last active
March 3, 2019 19:36
-
-
Save praetoriansentry/8b88b6ec0d57f5f8ae10aea2223f4a4e to your computer and use it in GitHub Desktop.
Javascript version of a quine with contact info for card or something
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
const name = 'John Hilliard'; | |
const company = 'Next Jump'; | |
const twitter = '@praetorian'; | |
const site = 'john.dev'; | |
const crc32 = 0xd6d8c236; | |
const q = String.fromCharCode(34); | |
[ | |
"const name = 'John Hilliard';", | |
"const company = 'Next Jump';", | |
"const twitter = '@praetorian';", | |
"const site = 'john.dev';", | |
"const crc32 = 0xd6d8c236;", | |
"const q = String.fromCharCode(34);", | |
"[", | |
"].map((s,i) => {", | |
" if (i < 7) console.log(s); return s;", | |
"}).map(s => {", | |
" console.log(' ' + q + s + q + ','); return s;", | |
"}).map((s,i) => {if (i < 7 ) return s; console.log(s);});", | |
].map((s,i) => { | |
if (i < 7) console.log(s); return s; | |
}).map(s => { | |
console.log(' ' + q + s + q + ','); return s; | |
}).map((s,i) => {if (i < 7 ) return s; console.log(s);}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment