doc: add exclamation to asynchronous picture
This commit is contained in:
1 parent
306d013b2a
commit
6967f42f8c
1 file changed
+1
-1
@@ -28,7 +28,7 @@ JavaScript用于交互和通信
|
||||
我们将函数作为参数传递给其他函数,以便当我们知道预期发生的事情时,可以“稍后回调”。
|
||||
回调在事件驱动编程中是一个非常强大的特性。
|
||||
为什么你认为在JavaScript语言中有能力将回调函数作为参数传递给其他函数,如JS中的addEventListener和setTimeout是有用的?
|
||||
[asynchronous](/images/asynchronous.png)
|
||||

|
||||
|
||||
# 一些定义
|
||||
同步意味着实时通信,其中每一方都能立即接收和处理消息/指令
|
||||
|
||||
Reference in new issue
Block a user