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

1044 Commits

Author SHA1 Message Date
ruanyf
4bf719ef8f docs(module): add Node 加载 ES6 模块 2017-02-02 08:54:35 +08:00
Ruan YiFeng
4d599e8785 docs(Object): edit Object.values() 2017-01-27 09:51:02 +08:00
Ruan YiFeng
186a84dce7 docs(number): edit 指数运算符 2017-01-26 07:57:35 +08:00
Ruan YiFeng
d0442c38c1 Merge pull request #325 from JiangdandanAbigale/patch-1
语法错误
2017-01-25 09:54:39 +08:00
Ruan YiFeng
dcb12a1be9 docs(Symbol): edit Symbol.unscopables 2017-01-25 09:24:20 +08:00
Dandan Jiang
b2c2f8fd0c 语法错误 2017-01-24 11:16:09 +08:00
Ruan YiFeng
4b17bc8a16 Merge pull request #324 from foisonocean/patch-2
rename function name to `readFileThunk`
2017-01-24 04:30:33 +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
Ruan YiFeng
d9af38ddc3 Merge pull request #323 from sunyuhui/gh-pages
拼写错误
2017-01-21 21:25:21 +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
Ruan YiFeng
a2e0ba207d Merge pull request #320 from ataotao/patch-2
此处参数有误
2017-01-13 08:58:23 -06: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
Ruan YiFeng
a108bdaa0d Merge pull request #316 from GSANDLY/patch-1
生成器对象调用 next 方法传参
2017-01-11 20:58:08 -06: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
Ruan YiFeng
87ab1d07b7 Merge pull request #313 from foisonocean/patch-1
using Thunk function before defined
2017-01-09 21:02:27 -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
Ruan YiFeng
e81d6714d6 Merge pull request #310 from yangkean/patch-2
代码片段有误
2017-01-09 00:18:14 -06:00
Sam Yang
b9a4aa449d 代码片段有误
http://es6.ruanyifeng.com/#docs/decorator#为什么修饰器不能用于函数?这一节的第二个代码片段,函数声明和变量声明都会提升,但是函数声明先于变量声明
2017-01-09 11:26:56 +08:00
Ruan YiFeng
6c0a3f180e Merge pull request #309 from yangkean/patch-1
9.对象的扩展 方法的name属性部分需修改
2017-01-07 23:50:06 -06: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
Ruan YiFeng
9e79be218a Merge pull request #306 from MRLuowen/patch-2
更新
2017-01-04 20:46:24 -06: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
Ruan YiFeng
124b154496 Merge pull request #300 from hanzhijue/gh-pages
Fix type in promise.md
2016-12-28 19:37:20 -06: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
Ruan YiFeng
e2d68dbebc Merge pull request #299 from yongmin-chen/patch-1
Update module.md
2016-12-26 05:45:26 +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