![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Javascript
蔷薇牧师
这个作者很懒,什么都没留下…
展开
-
I never understood JavaScript closures (闭包的理解)
As the title states, JavaScript closures have always been a bit of a mystery to me. I have read multiple articles, I have used closures in my work, sometimes I even used a closure without realizing I ...翻译 2020-04-08 21:29:56 · 199 阅读 · 0 评论 -
When (and why) you should use ES6 arrow functions — and when you shouldn’t(如何正确使用es6箭头函数)
Arrow functions (also called “fat arrow functions”) are undoubtedly one of the more popular features of ES6. They introduced a new way of writing concise functions. (箭头函数(也称为“胖箭头函数”)无疑是ES6最受欢迎的功能之一。 他...翻译 2020-04-04 14:04:12 · 152 阅读 · 0 评论