---
title: "Discussion on \"Pure functions in JavaScript\" | Hashnode"
description: "Discussion on \"Pure functions in JavaScript\". Introduction\nBefore understanding what pure functions are, we should be having a decent knowledge of what functions are in JavaScript. Functions are the fundamental building blocks in JavaScript. In simpler terms, a function is a block of code that p..."
url: "https://hashnode.com/posts/pure-functions-in-javascript/62da7a34e3738c59b0b7b2e3"
---

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

Discussion

# [Pure functions in JavaScript](https://nakulsharma.hashnode.dev/pure-functions-in-javascript?utm_source=hashnode&utm_medium=feed)

Introduction Before understanding what pure functions are, we should be having a decent knowledge of what functions are in JavaScript. Functions are the fundamental building blocks in JavaScript. In simpler terms, a function is a block of code that p...

Jul 22, 2022 · 3 min read · nakulsharma.hashnode.dev  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#pure-functions](https://hashnode.com/tag/pure-functions)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Nakul Sharma](https://hashnode.com/@nakulsharma)

@nakulsharma · Delhi, India

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

Web Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
