<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/currying-in-js---shorts-rgx5qfqcu" -->

---
title: Currying in JS - shorts | daily.dev
description: Currying is a technique of evaluating function with multiple arguments, into sequence of function with single argument. Currying does not exist in native...
canonical: https://daily.dev/posts/currying-in-js---shorts-rgx5qfqcu
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Currying in JS - shorts | daily.dev
og:description: Currying is a technique of evaluating function with multiple arguments, into sequence of function with single argument. Currying does not exist in native...
og:url: https://daily.dev/posts/currying-in-js---shorts-rgx5qfqcu
og:image: https://api.daily.dev/og/posts/Rgx5qFqCu.png
og:image:alt: Currying in JS - shorts
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Currying in JS - shorts

**[DevDojo](https://daily.dev/sources/devdojo)** · [@rahxul](https://daily.dev/rahxul) · 1 min read · 17 upvotes · 1 comments

## Summary

Currying is a technique of evaluating function with multiple arguments, into sequence of function with single argument. Currying does not exist in native JavaScript. But libraries like lodash makes it easier to convert a function to curried one. Little pieces can be configured and reused with ease.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://devdojo.com/rahulism/currying-in-js-shorts>

## Community discussion

Top comments from developers on daily.dev.

**@lorezz** · 1 upvotes

> thanks, never know about lodash's curry function

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#c](https://daily.dev/tags/c)

[View this post on daily.dev](https://daily.dev/posts/currying-in-js---shorts-rgx5qfqcu)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Currying in JS - shorts","url":"https://daily.dev/posts/currying-in-js---shorts-rgx5qfqcu","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/currying-in-js---shorts-rgx5qfqcu"},"datePublished":"2021-11-13T18:21:52.040Z","dateModified":"2021-11-13T18:21:52.042Z","description":"Currying is a technique of evaluating function with multiple arguments, into sequence of function with single argument. Currying does not exist in native...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/23fbc57fb7f478c9e3c0e46918f34c53","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/23fbc57fb7f478c9e3c0e46918f34c53","isAccessibleForFree":true,"articleSection":"DevDojo","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Rahul","url":"https://daily.dev/rahxul","image":"https://media.daily.dev/image/upload/s--w_EB7y0c--/f_auto,q_auto/v1/avatars/avatar_UA2asvbfX","description":"Hustler","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":2120}},"commentCount":1,"discussionUrl":"https://daily.dev/posts/currying-in-js---shorts-rgx5qfqcu","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":17},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"javascript,c","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DevDojo","item":"https://daily.dev/sources/devdojo"},{"@type":"ListItem","position":3,"name":"Currying in JS - shorts"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/currying-in-js---shorts-rgx5qfqcu","comment":[{"@type":"Comment","text":"thanks, never know about lodash’s curry function","datePublished":"2021-11-15T09:30:43.460Z","url":"https://daily.dev/posts/Rgx5qFqCu#c-wNf2OfkOP","author":{"@type":"Person","name":"lorezz","url":"https://daily.dev/lorezz","image":"https://avatars0.githubusercontent.com/u/1153066?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
```

