Skip to content

Commit a6c6c3e

Browse files
committed
fix:回调函数
1 parent 3ddf513 commit a6c6c3e

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

03-JavaScript基础/05-函数.md

+4
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ return的作用是结束方法。
209209
```javascript
210210
fn(test); //回调test这个函数
211211

212+
function fn(a){
213+
a();
214+
}
215+
212216
function test() {
213217
console.log("我是被回调的函数")
214218
}

20-前端综合/2018年-前端日记.md

+3
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,9 @@ git cherry-pick myLog
259259
如果我们要实现并列条件,千万不要使用 `if(50 < num < 70)`,而是要使用`if(num > 50 && num <=70)`
260260

261261

262+
### 2018-07-02
263+
264+
262265

263266

264267

推荐链接-前端相关.md

+7
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,13 @@
164164
- [技术的热门度曲线](http://www.ruanyifeng.com/blog/2017/03/gartner-hype-cycle.html)
165165

166166

167+
### 2018-07-03
168+
169+
- [浅谈XXE攻击](http://www.freebuf.com/articles/web/126788.html)
170+
171+
关于XXE攻击,这几天微信支付被爆出漏洞,使用微信支付的各个业务都在努力修补。
172+
173+
167174

168175

169176

0 commit comments

Comments
 (0)