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

81 Commits

Author SHA1 Message Date
ruanyf
eebbf77f99 docs(proposals): edit BigInt 2019-10-06 22:58:18 +08:00
ruanyf
99b39cc230 docs(Promise): edit Promise 2019-10-06 20:11:13 +08:00
wangsir
8b126e5d76
Update promise.md
Promise.prototype.then(),当then中的回调函数返回一个Promise对象时,后面的then中的回调函数不应该写上funcA、funcB这样的方法名,会让人误以为是函数定义,并未调用,造成阅读困难!
2019-08-02 14:20:13 +08:00
ruanyf
6c1aaf1b3f docs(promise): fix Promise.resolve() 2019-04-05 19:53:07 +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
GJ Wang
2416e5685b
Update promise.md
shouldn't use cooma.
2018-04-09 22:52:56 +08:00
ruanyf
53389645e7 docs(promise): edit promise 2018-03-01 13:30:46 +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
5c40c2be8d
Format style 2017-11-08 19:19:40 +08:00
waiting
08a623935e
Use function assign instead of function declaration inner function
在函数内定义函数推荐使用变量赋值方式代替函数声明方式
2017-11-08 17:41:35 +08:00
waiting
6b300cf491
Use const instead of var 2017-11-08 17:38:17 +08:00
ruanyf
b6fd6302c7 docs(promise): edit promise.catch #500 2017-09-18 16:06:33 +08:00
Yuanzhi.Peng
62fc14d0df 统一Promise的状态为小写
修改 Fulfiled => fulfilled
参考: [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise),,统一状态为小写
2017-09-01 18:49:47 +08:00
Sutra Zhou
19138ef66c 删除多余的句号。 2017-08-24 16:50:25 +08:00
ruanyf
5c035974a2 docs(promise): edit promise 2017-08-11 10:15:02 +08:00
ruanyf
8e02ba553e docs(promise): 说明 Fulfilled 和 Resolved 的区别 #469 2017-08-08 17:01:33 +08:00
ruanyf
791fa922b6 docs(Promise): edit Promise 2017-07-31 16:50:24 +08:00
ruanyf
71eab1206c docs(Promise): edit Promise 2017-07-24 15:47:13 +08:00
ruanyf
3e302652a0 docs(Promise): edit Promise.all 2017-06-04 18:59:41 +08:00
ruanyf
38816c896a docs: edit Promise 2017-06-04 13:04:36 +08:00
ruanyf
0842b12577 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-05-25 20:52:33 +08:00
ruanyf
b939b7725c docs(promise): edit promise 2017-05-25 20:52:05 +08:00
P-ppc
2f89b0de2d 修复promise.md符号错误
将全角单引号修正为半角单引号
2017-05-19 17:53:59 +08:00
amisare
7b81350aef Update promise.md 2017-04-26 10:18:58 +08:00
ruanyf
5a34395c74 docs(intro): edit intro/babel 2017-03-27 07:09:55 +08:00
duzeng
f56ab65469 docs(promise): edit promise.md
就算改变已经发生了,你再对`Promise`对象添加回调函数--------->如果改变已经发生了,就算你再对`Promise`对象添加回调函数
貌似这样更能表达原意。
2017-03-18 00:23:12 +08:00
ruanyf
cc2e6cac36 docs(promise): edit promise 2017-03-16 14:50:54 +08:00
ruanyf
002618ac5e docs(promise): fix typo 2017-02-19 21:00:37 +08:00
ruanyf
6e944000df docs(async): 拆分 generator 函数的异步操作与 async 函数 2017-02-03 01:44:26 +08:00
sunyuhui
1c6add3cb9 拼写错误 2017-01-21 15:20:48 +08:00
Kaka
5ea84ae9a9 Update promise.md
Fix typo
2016-12-28 02:45:38 +08:00
ruanyf
a44b2f0fa8 docs(promise): edit Promise.reject 2016-12-27 11:35:14 +08:00
ruanyf
7f0b3fe2f0 docs(object): edit Object.value() 2016-12-13 19:22:09 +08:00
ruanyf
8d8db4e667 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2016-12-01 15:59:25 +08:00
ruanyf
fd666def3c docs(let): add do expression 2016-12-01 15:59:18 +08:00
Jacty
312ec74699 typo mistake
a typo mistake
2016-12-01 10:34:33 +08:00
ruanyf
e5b32087c9 docs(promise): add Promise.try() 2016-11-30 11:39:40 +08:00
Jon
3d6368c404 240行代码缺少引号
240行代码缺少引号。
p.then((val) => console.log(fulfilled:", val))
改p.then((val) => console.log("fulfilled:", val))为
2016-09-06 09:35:18 +08:00
ruanyf
cc6a82dcc3 docs(promise): delete async 2016-08-23 14:42:33 +08:00
ruanyf
e657a675e8 docs(generator): edit generator 2016-07-14 14:59:02 +08:00
ruanyf
96dfa3b858 docs(promise): edit Promise.resolve() 2016-06-12 06:21:58 +08:00
Ruan YiFeng
4b8671b893 Merge pull request #170 from zaxlct/patch-1
统一 if 语句括号里的空格
2016-05-05 08:07:43 +08:00
zaxlct
8f588d02c5 统一 if 语句括号里的空格
handle() 函数里 有两个 if ,为什么里面的空格不同?
2016-04-13 15:23:27 +08:00
左伦
690d5531a0 修改一处容易产生误解的示例 2016-04-13 11:23:05 +08:00
ruanyf
285c194750 docs(promise): catch方法 2016-03-13 05:51:33 +08:00
ruanyf
fc01552d64 edit docs/symbol 2016-01-29 09:25:39 +08:00
xinnix
38d393f4e2 fix section Promise.reject() bug
‘出错了’和‘foo’两个字符串搞混了
2016-01-08 23:33:15 +08:00
ruanyf
de33b8cca6 edit Promise 2016-01-04 04:06:02 +08:00