Introduction
1、let、const
2、块级作用域
3、块级作用域和函数
4、顶层对象&globalThis
5、const
6、变量解构赋值
7、Set
8、WeakSet
9、Map
10、WeakMap
11、Proxy
12、Reflect
13、Promise对象
14、async函数
15、Generator函数的语法
Published with GitBook
13、Promise对象
Promise
Promise
异步编程的一种解决方案
有三种状态:
pending
fulfilled
rejected
results matching "
"
No results matching "
"