JavaScript: The Definitive Guide, Sixth Editio javaScript权威指南(第6版) pdf 文字版-文字版, javascript电子书, 和javascript 有关的电子书:

8.8 Functional Programming

8.8 Functional Programming


JavaScript is not a functional programming language like Lisp or Haskell, but the fact that JavaScript can manipulate functions as objects means that we can use functional programming techniques in JavaScript. The ECMAScript 5 array methods such as map()and reduce()lend themselves particularly well to a functional programming style. The sections that follow demonstrate techniques for functional programming in Java-Script. They are intended as a mind-expanding exploration of the power of JavaScript’s functions, not as a prescription for good programming style.5

5. If this piques your interest, you may be interested in using (or at least reading about) Oliver Steele’s Functional JavaScript library. See http://osteele.com/sources/javascript/functional/ .

8.8 Functional Programming | 191

欢迎转载,转载请注明来自一手册:http://yishouce.com/book/1/27670.html
友情链接It题库(ittiku.com)| 版权归yishouce.com所有| 友链等可联系 admin#yishouce.com|粤ICP备16001685号-1