You're viewing a comment by Randolpho and its responses.

Randolpho Permalink
May 04, 2012, 18:44

Remember: quines are programs, not functions. Here's a cleaner node.js quine a buddy of mine made:

var q = (exports = function () {
    process.nextTick(function () {
        console.log("var q = (exports = " + exports.toString() + ")();");
    });
})();

Comment Responses

Randolpho Permalink
May 04, 2012, 18:46

And then he notices SubStack's better solution. Much nicer.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the first letter of your name: (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.