Make your own DEMO with a JavaScript REPL in 1K of JS (includes self-extracting LZW). Supports console log and error and Ctrl Enter makes a new line, and Enter executes. If you want to live mod anothe…
sc=String.fromCharCode;j=32;g=bs=0;function p(){for(v=x,h=f;h>bs;)bs+=8,g=g<<8|v.shift().charCodeAt(0);bs-=h;v=g>>bs;g&=(1<<bs)-1;return v}l=96,f=7,x=atob("ERqs6HUkz5wgTbw48ucBE027J2DSj1ZsWdUpm1RISVMIWQkbUztRPR0CHFBSRQBTVFlMRR1DT0xPUhoCC0s7WTsQPT0LAh6fOz0OU0xJQ0UOQ0FMTIQMEQkOSk9JaAIPAgmoHA+PRaoLiIpdbGRmTgBDCEEMQ2qQVFVS00GuULBUCALEDpBWRVJTRWm9v8HnU+JJ5NldUYzATusoGgtFgCDZCRKnRgcKhFLBUOxFIIAKRPK5TDoRABJIgdKgeY8KhkOIMdIhJK0YjRTjoPkhWVQbIZYTBnKaaIobJYdLabI6eWB6AQMdcSToCSBEARdDZGTgIJkYaZLBKhJikUwdqY9BlYTBYHZMrMwrw7CNWsNfDpEBxCYBxrAOIJQcRZtVsBFYbBYBIMqilQxORiQcRBWUDJ6MKy2KpFgZUB1LIZVQaGxpnJZFLJEid/aBuNBBNQRCYdOoOK6BIZIAwGay0KhSJgry4fxsSigLiwa1jJdR8EhFIxBKpMcl62kTioRvAOJ4IKg7J49vTtKg0JJ6J5VcgH1xZLcw5YIIuIXACA4L53QHZOHoIB48JwPI4McwJ9XsYfxBgHHg88rFAcxAJF0tRUah4Rqd8UoHF0BwMBlxXPIt9ICH9yxOMAUHZB1nDSNYahWJgCDVehWQPDsWxdAwhw9A99SlfMDjEBsTAdFYDhQE8UBpF0XQJGkGwRBAEQ").split("");d={};lb=f;for(w=o=sc(j+p());x+"";)f=(++l).toString(2).length,f!==lb&&(lb=f),n=p(),n in d||(d[n]=sc(n+j)),e=d[n],o+=e,d[l-1]=w+e[0],w=e;eval(o)
c2M9U3RyaW5nLmZyb21DaGFyQ29kZTtqPTMyO2c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