53

JavaScript函数式编程之副作用

 5 years ago
source link: https://juejin.im/post/5b22071af265da59a23f14ba
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
更多相关内容见博客 github.com/zhuanyongxi… 概念: 副作用是在计算结果的过程中,系统状态的一种变化,或者与外部世界进行的可观察的交互。 上文中的纯函数的概念很严格,这个副作用的概念也是。它的要求很高,概括的讲,只要是跟函数外部环境发

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK