Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

functional-javascript

> 编程语言
Open source

Functional is a library for functional programming in JavaScript. It defines the standard higher-order functions such as map, reduce (aka foldl), and select (ak

378 stars0 likes2 views
WebsiteGitHub

About

Functional is a library for functional programming in JavaScript. It defines the standard higher-order functions such as map, reduce (aka foldl), and select (ak

Functional JavaScript (deprecated)

This code, from 2007, is deprecated. I'm keeping it available for historical interest.

Some of the ideas in this code and in its companion collections.js were used in Jeremy Ashkenas's Underscore.js, which in turn inspired Lodash. Use those instead.

CoffeeScript (aso by Jeremy Ashkenas) and ECMAScript 6 also include arrow functions and functional programming functions such as map. If you use these languages, or many other modern languages that compile into ECMAScript, you can do functional prorammming entirely within the language.

Thanks to everyone who has contributed, and to everyone who has thanked me over the years, thank you in turn.

Links

  • Demo page
  • Announcement
  • Original README file (also below)
  • Original repo (Google Code)

Original README

Functional defines higher-order methods and functions for functional and function-level programming. It also defines "string lambdas", that allow strings such as x+1 and x -> x+1 to be used in some contexts as functions.

It is licensed under the MIT License.

For more details, see http://osteele.com/sources/javascript/functional/.

Credits

  • Oliver Steele – original author
  • Dean Edwards – Array.slice suggestion
  • henrah – Function.lambda memoization
  • Raganwald – Rhino compatibility
  • Jesse Hallett – Spidermonkey shell compatibiilty
  • Florian Schäfer – allow leading and trailing spaces in expressions
  • Angus Croll – bug fix

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptfunctional-programmingjavascript-library

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言