Is Javascript a Functional Programming Language?

前端 未结 13 853
天涯浪人
天涯浪人 2020-12-04 05:22

Just because functions are first class objects, there are closures, and higher order functions, does Javascript deserve to be called a Functional Programming language? The

13条回答
  •  遥遥无期
    2020-12-04 05:48

    I don't think there a concrete definition of functional programming , however many of things people consider "functional programming" can be done with javascript. Here is a good brief example in this article.

提交回复
热议问题