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

1088 Commits

Author SHA1 Message Date
ruanyf
3eeb90b85c docs(class): edit private method #572 2018-01-02 17:29:38 +08:00
ruanyf
0051af0528 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-12-29 15:55:45 +08:00
ruanyf
1ff6639dfa docs(regex): edit y flag 2017-12-29 15:55:22 +08:00
Ruan YiFeng
faefd427a0
Merge pull request #569 from baooab/patch-3
Fix typo
2017-12-26 20:54:03 -06:00
Ruan YiFeng
7b728a4f31
Merge pull request #568 from baooab/patch-2
Fix:统一例子中的代码风格
2017-12-26 20:50:43 -06:00
zhangbao
6b647bd7d7
Fix typo 2017-12-26 11:11:47 +08:00
zhangbao
311cfaa50d
Fix:统一例子中的代码风格
更能清晰地分辨出是对象字面量声明中的方法简写
2017-12-26 10:55:39 +08:00
zhangbao
5bda2fdb53
docs:Fix typo
The type of `value` is number, not string.
2017-12-26 09:03:51 +08:00
ruanyf
488983f6d4 docs(symbol): edit symbol.species #566 2017-12-21 19:17:27 +08:00
ruanyf
649b29779a docs(symbol): edit symbol.species #506 2017-12-21 19:16:44 +08:00
Open Next
0213ffc1ab
docs(style): modify the bold format of -(3)yield
remove needless space char in **(3)yield* **
2017-12-13 15:33:14 +08:00
ruanyf
465b82597a docs(module-loader): fix typo 2017-12-11 05:04:01 +08:00
ruanyf
41efa95b18 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-12-07 10:26:25 +08:00
ruanyf
22c3b931dc docs(proxy): edit set() 2017-12-07 10:26:10 +08:00
isLishude
48ccd23c17
增加ES5中reduce方法对数组空位的处理
```js
[1,,2].reduce((x,y)=>{
  console.log(x,y)
  return x+y
})
// 输出
// 1 2
// 3
```
2017-12-06 09:32:15 +08:00
ruanyf
7740f5d075 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-12-05 21:42:36 +08:00
ruanyf
075c27b54d docs(decorator): edit method decorator 2017-12-05 21:42:30 +08:00
Jing Ma
3f28d7b06e
Updated example and explanation of Symbol.species 2017-11-24 16:17:31 +08:00
ruanyf
d808c68ce0 docs(generator): add generator context 2017-11-24 14:44:51 +08:00
ruanyf
1357a8e345 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-11-23 17:01:23 +08:00
ruanyf
bfa394a2d7 docs(style): fix typo 2017-11-23 16:59:21 +08:00
Jing Ma
7dd83344b6
Updated result of examples 2017-11-22 11:50:53 +08:00
ruanyf
b424224cb7 docs(set): edit set 2017-11-21 13:38:59 +08:00
ruanyf
3a79a8d329 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-11-21 13:33:46 +08:00
ruanyf
dad929d01e docs(decorator): edit decorator/publishEvent 2017-11-21 13:33:34 +08:00
Jing Ma
5bfd96bd87
Fixed minor typo 2017-11-15 11:05:48 +08:00
Ika
e8fdb00040 docs: consistent style 2017-11-12 18:01:54 +08:00
ruanyf
eeba1984a8 docs(module-loader): ES6 循环加载 #542 2017-11-12 11:52:12 +08:00
ruanyf
6d2fc73616 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-11-11 20:40:19 +08:00
ruanyf
ece1bb9dfa docs(module-loader): 有虎 async 和 defer 属性的解释 #542 2017-11-11 20:39:50 +08:00
Jing Ma
9b67b9bf8c
Fixed minor typo and provider preciser translation 2017-11-10 19:04:11 +08:00
Ruan YiFeng
5adf73bbcf
Merge pull request #540 from waitingsong/promise
Promise
2017-11-09 08:56:00 +08:00
ruanyf
535dd1ff98 docs(class-extends): edit class-extends 2017-11-09 08:47:27 +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
91f2a50e25 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-11-08 09:43:02 +08:00
ruanyf
530982b3ae docs(proxy): fix typo 2017-11-08 09:38:07 +08:00
Ruan YiFeng
9276083cf7
Merge pull request #538 from zwdsjl/patch-1
Update string.md
2017-11-05 10:43:20 +08:00
ruanyf
bbc173988b docs(proxy): edit proxy 2017-11-05 09:25:58 +08:00
zwdsjl
44c6a81168
Update string.md 2017-11-04 14:18:35 +08:00
ruanyf
2ac6e76b38 docs(weakmap): 修正 weakMap 的例子 #536 2017-11-03 08:18:18 +08:00
ruanyf
e845e10525 Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-11-01 16:27:06 +08:00
ruanyf
ce5de76c40 docs(object): edit object'clone 2017-11-01 16:26:36 +08:00
waiting
ea98bdafa5
docs: 变量名改为习惯用法
xxx这种名称偏向于口语化,适用于不严格的使用环境。 开发常用的约定俗称的随机名是 foo, bar, baz 等等
2017-10-29 16:40:55 +08:00
ruanyf
22b0f1d472 docs(arrayBuffer): edit arrayBuffer 2017-10-27 13:35:10 +08:00
waiting
b884411b1e
docs: 改进表述
“第一个元素”含义不明确容易让人混淆。arraybuffer本身是底层内存空间,(第n个)元素是从读取数据的角度来说的。用于读取出信息赋值给的变量而已。而此处读取操作仅执行了一次,没有多次读取,不存在多个元素需要表述的情况。所以不应该使用序列表述,否则读者会疑问那第二个元素在哪儿? 再者此处是针对 arraybuffer 的案例,应该从arraybuffer的角度来叙述,采用其相关用语。比如bit, byte, 第n个字节等等更好。
2017-10-27 09:47:29 +08:00
ruanyf
cc33b1fd3d docs(function): edit 双冒号运算符 #529 2017-10-26 11:24:57 +08:00
ruanyf
ce3b9f598b docs(class-extends): edit class-extends 2017-10-25 13:36:17 +08:00
ruanyf
be281832bf Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages 2017-10-25 10:24:55 +08:00