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

918 Commits

Author SHA1 Message Date
Dandan Jiang
b2c2f8fd0c 语法错误 2017-01-24 11:16:09 +08:00
Zhao
c7f64377f8 rename function name to readFileThunk
这里使用 `readFileThunk` 更容易理解
2017-01-23 17:47:55 +08:00
ruanyf
3b6848b5a2 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-01-22 11:11:04 +08:00
ruanyf
08f1ed744e docs: edit destructuring 2017-01-22 11:10:42 +08:00
sunyuhui
1c6add3cb9 拼写错误 2017-01-21 15:20:48 +08:00
ruanyf
876a7b4bb1 docs: fix function/参数默认值 2017-01-20 20:43:27 +08:00
ruanyf
eb2a62215a docs: fix function/参数默认值有单独作用域 2017-01-20 20:39:18 +08:00
ruanyf
1fa35d5c7b docs(class): 调整”类的私有属性“一节的位置 2017-01-17 16:09:32 +08:00
ruanyf
b08cb1329f docs(module): edit module 2017-01-15 19:57:14 +08:00
ruanyf
e198cd9ec9 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-01-14 15:06:14 +08:00
ruanyf
8d0274cd13 docs(class): 私有属性 2017-01-14 15:04:55 +08:00
Ataotao
ef89f58f61 此处参数有误
// Reflect.construct 的写法
const instance = Reflect.construct(Greeting, '张三');
Reflect.construct(target, argumentsList[, newTarget])
An array-like object specifying the arguments with which target should be called.
2017-01-13 15:53:07 +08:00
ruanyf
2be52481a2 docs(generator): edit Generator 2017-01-12 11:11:22 +08:00
Geng Shuang
bfa6c119c1 生成器对象调用 next 方法传参
`next`方法可以带一个参数,该参数就会被当作上一个`yield`语句的返回值
2017-01-11 15:26:17 +08:00
Ruan YiFeng
89a0e8fc75 Merge pull request #312 from goodyboy6/patch-1
Update object.md
2017-01-09 21:15:29 -06:00
Zhao
fa18d4a68b using Thunk function before defined
这里的 Thunk 函数是使用函数表达式定义的,意味着 Thunk 函数不能在定义前使用。
2017-01-09 16:39:55 +08:00
goodyboy6
20a5e6b182 Update object.md
const descriptor = Object.getOwnPropertyDescriptor(o, 'foo');
==>
const descriptor = Object.getOwnPropertyDescriptor(obj, 'foo');
2017-01-09 15:41:07 +08:00
Sam Yang
b9a4aa449d 代码片段有误
http://es6.ruanyifeng.com/#docs/decorator#为什么修饰器不能用于函数?这一节的第二个代码片段,函数声明和变量声明都会提升,但是函数声明先于变量声明
2017-01-09 11:26:56 +08:00
Yang KeAn
0b247a9ea2 9.对象的扩展 方法的name属性部分需修改
http://es6.ruanyifeng.com/#docs/object#方法的-name-属性 中,“console.log(this.name)” 不应该出现,这里的“this”指代的是方法所处的对象,即 person,该对象并不存在 name 属性,与本节所讲方法的属性毫无关系,易引起误导,应修改。
2017-01-08 10:52:44 +08:00
ruanyf
da273bb792 docs: edit async typo 2017-01-08 00:15:31 +08:00
ruanyf
e1abf373a3 docs(object): edit object 2017-01-07 13:31:27 +08:00
ruanyf
a8cb58ba96 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-01-05 11:17:31 +08:00
ruanyf
2b74904568 docs(arraybuffer): edit arraybuffer 2017-01-05 11:17:25 +08:00
MRLuowen
884c008313 更新
修改异步编程接口一个对象名称错误
2017-01-03 18:34:09 +08:00
ruanyf
53ed0a0a3b Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-01-02 23:20:24 +08:00
ruanyf
6609f64696 docs(async): edit async 2017-01-02 23:19:46 +08:00
ruanyf
f02924cd5a docs(async): edit async/asyncIterable 2017-01-01 19:21:09 +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
e653a31d7b Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2016-12-26 06:11:23 +08:00
ruanyf
c39d1e580d docs(proxy): edit proxy 2016-12-26 06:11:16 +08:00
Eamonn
6f120e1212 Update module.md 2016-12-25 17:11:39 +08:00
ruanyf
04f582da78 docs(proxy): edit proxy 2016-12-24 20:56:36 +08:00
ruanyf
c7d9c5d138 docs: add new chapter of Reflect 2016-12-24 11:53:18 +08:00
ruanyf
496e286eeb fix: restore object.md 2016-12-23 10:13:10 +08:00
Ruan YiFeng
254447ad59 Merge pull request #298 from johnjackson/patch-1
处理数组 这里写反了
2016-12-22 12:34:22 +08:00
ruanyf
192928dc42 docs(let): edit let 2016-12-21 14:54:20 +08:00
王宁
09a72af364 Update and rename object.md to object2.md
处理数组 这里写反了
2016-12-21 14:52:33 +08:00
ruanyf
67f9495d64 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2016-12-20 17:40:21 +08:00
ruanyf
0d21c136c5 docs: edit Symbol 2016-12-20 17:39:34 +08:00
hyjiacan
a6ece9cfa3 Update module.md
拼写错误
2016-12-20 09:03:01 +08:00
ruanyf
329edc0711 docs(reflect): edit Reflect API 2016-12-19 23:13:30 +08:00
ruanyf
aab07bdbc8 docs(set): edit set 2016-12-15 15:24:30 +08:00
ruanyf
7f0b3fe2f0 docs(object): edit Object.value() 2016-12-13 19:22:09 +08:00
ruanyf
e9fbf72aac docs(class): edit class/super 2016-12-07 20:08:53 +08:00
ruanyf
51f3119ef6 docs(module): edit module 2016-12-06 12:56:38 +08:00
ruanyf
c9df99c2f7 docs(module): edit module 2016-12-06 12:47:50 +08:00
ruanyf
e26aa6be60 docs(module): edit module 2016-12-05 23:02:53 +08:00
ruanyf
166d092f23 docs(module): edit module 2016-12-05 22:45:42 +08:00
ruanyf
50e2648405 docs(module): edit module 2016-12-05 22:43:42 +08:00