xinnix
38d393f4e2
fix section Promise.reject() bug
...
‘出错了’和‘foo’两个字符串搞混了
2016-01-08 23:33:15 +08:00
ruanyf
91d44bdb6f
edit set-map
2016-01-08 19:17:16 +08:00
yuwei
7cc9aefdd6
Update array.md
2016-01-06 13:36:08 +08:00
yuwei
d873e7b91d
使未生效的语法高亮生效
2016-01-05 22:47:40 +08:00
ruanyf
de33b8cca6
edit Promise
2016-01-04 04:06:02 +08:00
ruanyf
d12c9c843f
edit function/spread
2016-01-04 03:49:44 +08:00
yuwei
06e16fe529
修改扩展运算符应用5的写法错误
...
详情以及建议见 https://github.com/ruanyf/es6tutorial/issues/111 。
5)类似数组的对象
任何类似数组的对象,都可以用扩展运算符转为真正的数组。
var nodeList = document.querySelectorAll('div');
var array = [...nodeList];
这里明显有问题,对于扩展运算符,只能对于可遍历(iterable)的对象
MDN
The spread operator allows an expression to be expanded in places where multiple arguments (for function calls) or multiple elements (for array literals) are expected.
2016-01-03 21:40:57 +08:00
Wei Zhu
1e23c6d888
中文括号改为英文括号
2016-01-02 17:52:52 +08:00
ruanyf
a37ce6fca3
edit ditto.js
2016-01-01 21:01:11 +08:00
ruanyf
689a8afb3a
edit let
2015-12-30 22:52:53 +08:00
RocXing
f56eb06d11
细节修正
...
此处逗号会引起歧义,好似let会引起"变量提升"
2015-12-30 15:30:39 +08:00
ruanyf
aa7a6ac005
edit Object/Object.is
2015-12-27 21:44:27 +08:00
ruanyf
769ef139b1
fix generator
2015-12-24 20:17:14 +08:00
ruanyf
61d2f36c9c
edit module
2015-12-23 16:47:48 +08:00
ruanyf
61d7165df9
edit index.html
2015-12-22 16:28:25 +08:00
pwnn
767565085d
fix typo
2015-12-17 17:01:25 +08:00
ruanyf
50a63996d5
edit module
2015-12-17 14:16:23 +08:00
Ke Xu
2721216963
Update class.md
2015-12-16 17:33:06 -05:00
ruanyf
b7a766f54b
edit Reflect
2015-12-16 10:14:57 +08:00
ruanyf
974d9825bf
edit generater
2015-12-13 21:24:16 +08:00
ruanyf
6be5d7e49b
edit module
2015-12-06 23:10:32 +08:00
ruanyf
4473142341
fix error
2015-12-04 22:15:13 +08:00
ruanyf
99261d7e19
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
2015-12-03 15:24:17 +08:00
ruanyf
1a6aa1ae42
edit js/ditto
2015-12-03 15:20:42 +08:00
tommyZZM
94f0d4921f
Update style.md
2015-12-02 16:44:36 +08:00
tommyZZM
421b8ab321
Update style.md
2015-12-02 16:38:49 +08:00
tommyZZM
372eb0f67f
Update style.md
2015-12-02 16:29:03 +08:00
tommyZZM
87d321e9ef
Update style.md
...
usage of Arrow function
2015-12-02 16:25:29 +08:00
ruanyf
ce893ab576
delete module/module clause
2015-12-02 13:31:57 +08:00
ruanyf
e6b8a2ffc9
调整文字
2015-12-01 19:34:02 +08:00
ruanyf
4929da48d9
delete object/Object.observe
2015-12-01 17:24:36 +08:00
ruanyf
85f0cfeb3f
fix typo
2015-12-01 17:18:07 +08:00
ruanyf
1ed8d1d915
edit function/bind operator
2015-11-30 12:08:15 +08:00
ruanyf
1228e708a5
edit intro/babel
2015-11-30 10:51:39 +08:00
ruanyf
c6b9b0ce0d
add string/padStart & padEnd
2015-11-28 19:27:17 +08:00
Ruan YiFeng
f6026e153d
Merge pull request #100 from sjy/gh-pages
...
Update intro.md due to babel version update
2015-11-27 09:31:51 +08:00
ruanyf
f5ec2938b4
edit array/compresion
2015-11-26 11:02:28 +08:00
johnson
9b5c66493e
Update intro.md due to babel version update
2015-11-25 21:46:15 +08:00
ruanyf
52ba0574f6
edit iterator/for...of
2015-11-24 16:20:33 +08:00
ruanyf
b12393b3a9
edit array
2015-11-18 17:44:36 +08:00
ruanyf
3dcf078440
edit destructuring & class
2015-11-16 21:36:29 +08:00
ruanyf
f05acc0c84
edit symbol/magic string
2015-11-16 15:56:15 +08:00
ruanyf
8afab8ca89
edit function/length
2015-11-13 13:22:20 +08:00
ruanyf
0fc76fec74
edit array/hole
2015-11-12 22:52:27 +08:00
ruanyf
b3460911dc
fix typo
2015-11-12 22:31:53 +08:00
ruanyf
d066d470b5
fix typo
2015-11-12 19:51:23 +08:00
ruanyf
430515672c
fix typo
2015-11-12 19:42:07 +08:00
ruanyf
f74f42ae57
新增《读懂ECMAScript规格》
2015-11-12 19:34:54 +08:00
ruanyf
95118cfcee
edit function
2015-11-07 21:59:46 +08:00
ruanyf
bb909143a9
edit function
2015-11-07 17:02:19 +08:00