Skip to content

Instantly share code, notes, and snippets.

@zackdouglas
Created June 7, 2017 20:21
Show Gist options
  • Save zackdouglas/94f9c8e3b1e13eb9be6a789e9b008aa2 to your computer and use it in GitHub Desktop.
Save zackdouglas/94f9c8e3b1e13eb9be6a789e9b008aa2 to your computer and use it in GitHub Desktop.
So close to a quine…
var expose=(strings,...expressions)=>{return{strings,expressions}};
JSON.stringify((expose`var ${expose(`expose=${expose}`)};`),undefined,2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment