---
title: "Discussion on \"Understanding Pure and Impure Functions in Javascript\" | Hashnode"
description: "Discussion on \"Understanding Pure and Impure Functions in Javascript\". Introduction\nBefore my migration into ReactJs, I never knew about functions being pure or impure. I only understand functions as a set of statements that performs a task or calculates a value. \nBut after my migration to react, I learnt so much about ..."
url: "https://hashnode.com/posts/understanding-pure-and-impure-functions-in-javascript/62b70ff392447c9aed5b7c17"
---

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

Discussion

# [Understanding Pure and Impure Functions in Javascript](https://blog.ogbonna.dev/understanding-pure-and-impure-functions-in-javascript?utm_source=hashnode&utm_medium=feed)

Introduction Before my migration into ReactJs, I never knew about functions being pure or impure. I only understand functions as a set of statements that performs a task or calculates a value. But after my migration to react, I learnt so much about ...

Jun 25, 2022 · 4 min read · blog.ogbonna.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)
-   [#functions](https://hashnode.com/tag/functions)
-   [#immutable](https://hashnode.com/tag/immutable)

## Written by

[Ogbonna Sunday](https://hashnode.com/@OgDev-01)

@OgDev-01 · Port Harcourt Nigeria

  
[View profile](https://hashnode.com/@OgDev-01)

Software Engineer

Software developer - Javascript | React | Nextjs | Serverless | JAMstack | AWS. I write about my journey and experience as a software developer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
