---
title: "Discussion on \"Currying in Javascript\" | Hashnode"
description: "Discussion on \"Currying in Javascript\". Currying in Javascript It can be understood as function caching. Consider the snippet below:\n// utils.js\n\nconst submitForm = (formName: string) => (submittedFormData) => {\n    const currentForm = getForm(formName);\n    return submit = () => {\n       ..."
url: "https://hashnode.com/posts/currying-in-javascript/6379cdfce1849d46f5832d1b"
---

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

Discussion

# [Currying in Javascript](https://quan-ng.hashnode.dev/currying-in-javascript?utm_source=hashnode&utm_medium=feed)

Currying in Javascript It can be understood as function caching. Consider the snippet below: // utils.js const submitForm = (formName: string) => (submittedFormData) => { const currentForm = getForm(formName); return submit = () => { ...

Nov 20, 2022 · 1 min read · quan-ng.hashnode.dev  
Updated Mar 10, 2023  
Read the article

## Written by

[Quan Nguyen](https://hashnode.com/@quanng)

@quanng

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

Human learning

🇻🇳

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
