Created
November 19, 2016 12:48
-
-
Save xem/019b50652d10b76cfddc6cb4d5c75d47 to your computer and use it in GitHub Desktop.
1kb ES6 Quines Ideas
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
<pre id=p><script id="s" style="display:block">setInterval(z=` | |
/* =<,m#F^ A W###q. */ ; | |
/* #K q##H######Am */ ; | |
/* dP cpq#q##########b, */ ; | |
/* p##@###YG=[#######y */ ; | |
/* d#qg '*PWo##q#######D */ ; | |
/* aem1k.com Q###KWR#### W[ */ ; | |
/* .Q#########Md#.###OP A@ , */ ; | |
/* , (W#####Xx######.P^ T % */ ; | |
/* #y '^TqW####P###BP */ ; | |
/* b. OQ####x#K */ ; | |
/* l 'X#####D , */ ; | |
/* G####B" # */ ; | |
/* VQBP' */ ; | |
/* TP */ ; | |
`,9);s.innerHTML="<pre id=p>"+p.innerHTML</script> |
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
<pre id="p"><script id="s" style="display:block">setInterval(z | |
=` /* =<,m#F^ A W###q. */ ; | |
/* #K q##H######Am */ ; | |
/* dP cpq#q##########b, */ ; | |
/* p##@###YG=[#######y */ ; | |
/* d#qg '*PWo##q#######D */ ; | |
/* aem1k.com Q###KWR#### W[ */ ; | |
/* .Q#########Md#.###OP A@ , */ ; | |
/* , (W#####Xx######.P^ T % */ ; | |
/* #y '^TqW####P###BP */ ; | |
/* b. OQ####x#K */ ; | |
/* l 'X#####D , */ ; | |
/* G####B" # */ ; | |
/* VQBP' */ ; | |
/* TP */ ; | |
`,9);s.innerHTML=p.outerHTML</script></pre> |
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
<pre id="p"><svg id="s" onload="setInterval(z=` ; | |
/* =<,m#F^ A W###q. */ ; | |
/* #K q##H######Am */ ; | |
/* dP cpq#q##########b, */ ; | |
/* p##@###YG=[#######y */ ; | |
/* d#qg '*PWo##q#######D */ ; | |
/* aem1k.com Q###KWR#### W[ */ ; | |
/* .Q#########Md#.###OP A@ , */ ; | |
/* , (W#####Xx######.P^ T % */ ; | |
/* #y '^TqW####P###BP */ ; | |
/* b. OQ####x#K */ ; | |
/* l 'X#####D , */ ; | |
/* G####B' # */ ; | |
/* VQBP' */ ; | |
/* TP */ `,9) | |
;p.innerHTML=p.outerHTML.replace(/</g,'\x26lt;')"></svg></pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
inspired by @aemkei's world1k. No code is executed inside the interval yet. ES6 template literals can be multiline, so no need to use "". The ";" are just here to show the end of each line.