1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

92 Commits

Author SHA1 Message Date
CondorHero
a090a27f20
docs(async): fix typo 2022-07-01 15:38:34 +08:00
ruanyf
a837d8f2ce docs: update ES2022 2022-06-25 21:25:13 +08:00
王永辉
145e84021d
Update async.md
console.log missing a )
2021-07-14 17:02:26 +08:00
ruanyf
bc0ba763f7 docs(async): edit reduce() 2020-11-29 13:04:11 +08:00
ruanyf
201eebe08f docs(async): fixed #1023 2020-11-29 12:23:59 +08:00
ruanyf
04dddb2d7c docs: fix wangdoc-es6 #4 2020-11-01 01:33:11 +08:00
ruanyf
10defdbcac docs(async): fix typo 2020-09-15 20:23:25 +08:00
Jacty
c432253193
优化了 async 函数内部报错会导致 Promise 对象变为reject状态的例子
原来的例子并不能很明显的表示打印的内容来自于 reject 的回调。
2020-09-13 01:11:40 +08:00
ruanyf
266199c2d2 docs(module-loader): edit Node.js 的模块加载 2020-08-19 20:51:55 +08:00
ruanyf
323e9620a7 docs(set): fix #991 2020-05-31 20:17:06 +08:00
ruanyf
6800796e35 docs(async): 如何处理数组的异步操作 2020-03-03 23:35:12 +08:00
Pan
e7000d6368 docs(async): refine sleep 2019-06-12 00:19:46 +08:00
ruanyf
50ec743b29 docs(async): edit slepp() 2019-06-11 14:03:19 +08:00
ruanyf
db8b9171ae docs(async): add slepp() 2019-06-11 11:13:11 +08:00
ruanyf
c00389ae77 docs(async): add top-level await 2019-06-08 14:50:08 +08:00
ruanyf
6545088030 docs: 异步遍历器独立成一章 2019-06-08 02:20:08 +08:00
byog
c88911c88d
Update async.md
语义不完整
2019-02-15 00:25:20 +08:00
Chen Fengyuan
7d266f0ce7 docs: fix typos 2019-01-23 15:06:56 +08:00
ruanyf
f6199af2f6 docs(async): fix async #787 2018-12-27 16:38:21 +08:00
ruanyf
6b74886920 docs: edit async 2018-12-05 13:49:30 +08:00
ruanyf
ecd868e5bc docs(async): edit await 2018-11-23 22:58:25 +08:00
ruanyf
bad0552112 docs(async): fix await #752 2018-10-07 23:18:19 +08:00
hanty
94024df0f1
Update async.md 2018-07-11 14:46:51 +08:00
shenzhim
dfd5c0ac0e @std/esm 已经deprecated,改为esm 2018-05-31 19:30:36 +08:00
ruanyf
58767f55b2 docs(async): edit async 2018-05-09 11:26:52 +08:00
ruanyf
7fab96c932 docs(async): 增加 Stream 异步遍历器的例子 2018-04-17 15:53:05 +08:00
ruanyf
5e2ed331aa docs(class-extends): edit class-extends 2018-04-03 18:35:59 +08:00
xianshenglu
9e86918b4a
完善下表述
原表述可能有误导,完善了下
2018-03-31 11:21:26 +08:00
ruanyf
3cf3f8fdb6 docs(async): fix 异步遍历器函数 #622 2018-03-06 12:12:55 +08:00
ruanyf
14c45fe2f5 doc: update to ES2018 2018-01-29 08:47:04 +08:00
Ika
e8fdb00040 docs: consistent style 2017-11-12 18:01:54 +08:00
waiting
37b125e7fa fix: variable scope 2017-09-24 16:56:34 +08:00
waiting
7030c70270 docs: use let/const instead of var 2017-09-24 16:55:15 +08:00
ruanyf
7f0180caca docs(async): edit await 2017-08-18 13:16:46 +08:00
ruanyf
2eeb5a1edc docs(iterator): edit iterator.return() 2017-08-08 08:13:24 +08:00
ruanyf
1b928fb71f docs(async): edit async 2017-07-25 13:47:42 +08:00
ruanyf
71eab1206c docs(Promise): edit Promise 2017-07-24 15:47:13 +08:00
ruanyf
618a150053 docs(async): add 异步 Generator 函数的例子 2017-07-16 18:42:11 +08:00
ruanyf
e35fcfda61 docs(asyce): edit async Generator 2017-07-02 17:15:38 +08:00
ruanyf
8c8be74712 docs(array): move spread operator into array chapter 2017-07-02 09:37:23 +08:00
ruanyf
c40de12fc0 docs(async): edit async 2017-06-28 20:34:42 +08:00
RookieDay
90b2a2047c fix: add parentheses 2017-06-18 15:19:31 +08:00
ruanyf
d51beedbd6 docs: edit number.isFinite 2017-03-28 19:46:30 +08:00
Willin Wang
2c4d545dcc 更新 async
这里不需要 `async` 去掉更容易理解其原理。
2017-03-23 11:31:50 +08:00
ruanyf
002dddabf9 docs(async): edit async 2017-02-12 14:39:14 +08:00
ruanyf
6e944000df docs(async): 拆分 generator 函数的异步操作与 async 函数 2017-02-03 01:44:26 +08:00
Zhao
c7f64377f8 rename function name to readFileThunk
这里使用 `readFileThunk` 更容易理解
2017-01-23 17:47:55 +08:00
Zhao
fa18d4a68b using Thunk function before defined
这里的 Thunk 函数是使用函数表达式定义的,意味着 Thunk 函数不能在定义前使用。
2017-01-09 16:39:55 +08:00
ruanyf
da273bb792 docs: edit async typo 2017-01-08 00:15:31 +08:00
ruanyf
a8cb58ba96 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-01-05 11:17:31 +08:00