![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
文章平均质量分 91
RipperZero
这个作者很懒,什么都没留下…
展开
-
JS闭包学习笔记(勉強ノート)
学习Javascript闭包(Closure) 阮一峰彻底搞懂JS闭包各种坑from 彻底搞懂JS闭包各种坑闭包指的是:能够访问另一个函数作用域的变量的函数。清晰的讲:闭包就是一个函数,这个函数能够访问其他函数的作用域中的变量。function outer() { var a = "变量1"; var inner = function () { console.info(a); }; return inner; // inner 就是一个闭包函数,因为他能够访问到outer函原创 2020-12-22 15:06:41 · 80 阅读 · 0 评论 -
CSS 学习笔记(勉強ノート)
参考MDN web docshttps://developer.mozilla.org/zh-CN/docs/Web/Guide/CSS/Getting_started**选择器(Selectors)**类选择器(Class selectors)通过设置元素的 class 属性,可以为元素指定类名。类名由开发者自己指定。 文档中的多个元素可以拥有同一个类名。在写样式表时,类选择器是以英文句号(.)开头的。ID选择器(ID selectors)通过设置元素的 id 属性为该元素制定原创 2020-09-25 09:28:04 · 473 阅读 · 0 评论 -
Redux(ToolKit Version)学习笔记 (勉強ノート)
Redux官网ActionAn object describing what happened, and dispatch it to the store.ReducerA function that takes a current state value and an action object describing “what happened”, and returns a new state value.A reducer’s function signature is: (state,原创 2020-12-16 17:14:28 · 357 阅读 · 0 评论