Last active
October 16, 2023 12:50
-
-
Save qntm/79e46a797323deb628e783fd0cd03cbd to your computer and use it in GitHub Desktop.
There are others like it, but this one is quine
This file contains hidden or 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 => console.log(`${s}\n(${JSON.stringify(s)})\n`)) | |
("(s => console.log(`${s}\\n(${JSON.stringify(s)})\\n`))") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If this were a single line,
it would pass linting without any trouble, a fairly unusual property in a JavaScript quine.