---
title: "Discussion on \"Quine(s) in JavaScript\" | Hashnode"
description: "Discussion on \"Quine(s) in JavaScript\". Quine) is a program that takes no input but outputs a copy of its own code. Unlike other languages writing a quine in JavaScript/NodeJS is quite easy.\n\n\nHere we go!\nfunction quine() { console.log(quine.toString()) }\n\nThe key here is that any function..."
url: "https://hashnode.com/posts/quines-in-javascript-1/6187ca2d47828111df7ffc7c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Quine(s) in JavaScript](https://blog.ra101.dev/quines-in-javascript-1?utm_source=hashnode&utm_medium=feed)

Quine) is a program that takes no input but outputs a copy of its own code. Unlike other languages writing a quine in JavaScript/NodeJS is quite easy. Here we go! function quine() { console.log(quine.toString()) } The key here is that any function...

Feb 12, 2021 · 2 min read · blog.ra101.dev  
Read the article

## Written by

[Parth Agarwal](https://hashnode.com/@ra101)

@ra101 · India

  
[View profile](https://hashnode.com/@ra101)

On a voyage from the Binary shore to Quantum unknown... Been through Web, AI, and QASM.. I wonder what's next?

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
