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

1057 Commits

Author SHA1 Message Date
ruanyf
2da8eac664 docs(module): edit import() 2017-02-14 07:32:28 +08:00
ruanyf
e5c9ccadca docs(module): edit Module 2017-02-13 11:32:56 +08:00
ruanyf
c4ee209c88 docs(module): edit Module 2017-02-13 00:30:49 +08:00
ruanyf
9ed5c759e9 docs(module): 拆分《Module》一章 2017-02-13 00:25:47 +08:00
ruanyf
002dddabf9 docs(async): edit async 2017-02-12 14:39:14 +08:00
ruanyf
2b9fe071df docs(object): edit spread operator 2017-02-09 13:55:23 +08:00
ruanyf
d042de53e6 docs(let): edit 块级作用域内的函数声明 2017-02-08 19:22:44 +08:00
ruanyf
e8db4536b8 docs(let): edit 块级作用域内的函数声明 2017-02-08 19:19:56 +08:00
ruanyf
f66e7cb391 docs(let): edit let 2017-02-07 11:38:45 +08:00
ruanyf
4635e4598c docs(arrayBuffer): edit sharedArrayBuffer 2017-02-05 18:56:13 +08:00
ruanyf
efc5f2f8b6 docs(set): fix text 2017-02-03 19:51:40 +08:00
ruanyf
3c401eaa3c docs(generator): edit title 2017-02-03 01:47:34 +08:00
ruanyf
6e944000df docs(async): 拆分 generator 函数的异步操作与 async 函数 2017-02-03 01:44:26 +08:00
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