---
title: "Discussion on \"Understanding pure functions in javascript\" | Hashnode"
description: "Discussion on \"Understanding pure functions in javascript\". Pure functions allow us to get a predictable result every time they are been invoked. They find its applications in redux, functional programming. Hence in order for a  function to be classified as pure, it must fulfill certain rules: \n1)  Given the ..."
url: "https://hashnode.com/posts/understanding-pure-functions-in-javascript/6096a3331ea29f2c341e02db"
---

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

Discussion

# [Understanding pure functions in javascript](https://rock-e.hashnode.dev/understanding-pure-functions-in-javascript?utm_source=hashnode&utm_medium=feed)

Pure functions allow us to get a predictable result every time they are been invoked. They find its applications in redux, functional programming. Hence in order for a function to be classified as pure, it must fulfill certain rules: 1) Given the ...

May 8, 2021 · 3 min read · rock-e.hashnode.dev  
Read the article

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

## Written by

[Rock Enwerem](https://hashnode.com/@RockEnwerem)

@RockEnwerem

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

## Responses 1

Markdown supported · ⌘↵ to post

No responses yet.
