Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • \$\begingroup\$ You could save a few bytes by not invoking the functions and then by using a template literal in the second one. \$\endgroup\$ Commented Apr 28, 2018 at 9:49
  • 2
    \$\begingroup\$ So JavaScript outgolfs japt \$\endgroup\$ Commented Apr 28, 2018 at 19:28
  • \$\begingroup\$ @dylnan Not until it adds a third quine. \$\endgroup\$ Commented Apr 29, 2018 at 12:23
  • \$\begingroup\$ @Shaggy hey, thanks for your input, but I'm confused - shouldn't a quine be a full program? If it can be a function, must it print only itself? So would g=z=>"g="+g be a valid JS quine? \$\endgroup\$ Commented Apr 30, 2018 at 12:15
  • 1
    \$\begingroup\$ @Nit I'll see what I can do :P when dylnan commented, japt had only 2 quines as well \$\endgroup\$ Commented Apr 30, 2018 at 12:16