ruanyf
23c05f8244
docs(function): edit arrow function
2017-05-26 17:25:33 +08:00
ruanyf
be1049f12a
docs(generator): edit typo
2017-04-29 06:33:43 +08:00
Jacty
fcdea67264
typo
...
typo
2017-04-22 02:32:49 +08:00
ruanyf
b2182920bb
docs(symbol): edit symbol
2017-04-21 13:58:23 +08:00
ruanyf
ca2a2fc8b3
docs(function): edit function
2017-04-14 13:25:58 +08:00
Ruan YiFeng
658ad650e9
Merge pull request #376 from longhuicode/patch-3
...
语义不清晰
2017-04-14 13:03:42 +08:00
Max
c582198e7a
语义不清晰
...
1. 语义不清晰。
2. 引入 Python 作为比较,对于不了解 Python 的读者并无意义。
2017-04-13 22:09:46 +08:00
Max
b330d721ac
bar()输出表述有误
...
bar() 输出表述有误, outer 应该在 bar() 运行时输出!
2017-04-13 21:36:16 +08:00
ruanyf
2da8eac664
docs(module): edit import()
2017-02-14 07:32:28 +08:00
ruanyf
6e944000df
docs(async): 拆分 generator 函数的异步操作与 async 函数
2017-02-03 01:44:26 +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
e1abf373a3
docs(object): edit object
2017-01-07 13:31:27 +08:00
ruanyf
5258e43dd0
docs(function): 使用参数默认值,不能在函数内部显式开启严格模式
2016-10-19 14:00:22 +08:00
ruanyf
bf30299b48
docs(simd): add simd chapter
2016-10-04 18:41:24 +08:00
ruanyf
aa7f34527b
docs(class): fix typo
2016-07-23 07:32:32 +08:00
ruanyf
e1cb574009
docs(function): edit default parameter
2016-07-22 17:15:38 +08:00
ruanyf
4fb1525a36
docs(function): edit tail optimization
2016-07-15 20:36:23 +08:00
十三
a33b928158
fix: function Fibonacci2 bug
2016-07-14 16:45:49 +08:00
Ruan YiFeng
f7494bc67e
Merge pull request #209 from NumerHero/gh-pages
...
增加fibonacci 尾递归算法
2016-05-23 05:35:00 -05:00
Owen
1e1ea908ff
Update function.md
2016-05-23 11:35:13 +08:00
Owen
d4640a262d
增加fibonacci 尾递归算法
...
阮老师你好,阅读完您关于 尾递归这方面的研究书稿后,我自己使用了尾递归实现了计算fibonacci数列的方法,觉得比较有代表性
由非尾递归的fibonacci数列的 和 尾递归的fibonacci数列 比较,更加说明尾递归优化的重要性
此外fibonacci数列也是测试性能的常用算法
如果因为我的理解不深刻,浪费了老师宝贵时间,望老师见谅
2016-05-23 11:32:06 +08:00
Xcat Liu
b3d9aa82bf
Fix coding style in docs/function.md
2016-05-18 11:13:05 +08:00
ruanyf
2b53f9fc0d
doc(iterator): fix 示例代码
2016-05-11 19:55:41 +08:00
ruanyf
e6c5f9e1ff
doc(generator): generator 函数模拟构造函数
2016-05-11 07:47:54 +08:00
ruanyf
81e186f62a
docs(function): fix 函数的默认参数
2016-04-19 09:12:01 +08:00
ruanyf
dff2069aec
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
2016-03-19 16:41:13 +08:00
ruanyf
d14163cf5d
docs(intro): fix babel
2016-03-19 16:40:52 +08:00
cntanglijun
2957811796
删除一个逗号 🙏
2016-03-16 00:55:46 +08:00
ruanyf
1ae51bdea5
docs(let): ES6的块级作用域使得函数可以在条件作用域内声明
2016-03-05 14:35:33 +08:00
ruanyf
9af674d025
docs(function): 箭头函数的this
2016-03-03 16:31:42 +08:00
ruanyf
689081f7d8
docs(function): 箭头函数
2016-02-19 13:47:54 +08:00
ruanyf
0be4b18312
edit function/tco
2016-02-03 17:41:36 +08:00
JulienBrks
5001eeae4e
Update function.md
...
参数默认值例子的一个参数说明有问题,将"函数"改为"对象"
2016-01-21 22:25:36 +08:00
zavven
a2ec075b69
Update function.md
...
勘误。line:766
原:return person.first + ' ' + person.name;
改:return person.first + ' ' + person.last;
2016-01-19 18:18:39 +08:00
ruanyf
91d44bdb6f
edit set-map
2016-01-08 19:17:16 +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
ruanyf
1ed8d1d915
edit function/bind operator
2015-11-30 12:08:15 +08:00
ruanyf
8afab8ca89
edit function/length
2015-11-13 13:22:20 +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
ruanyf
715a5fe4dc
edit function/tco
2015-11-06 09:46:06 +08:00
ruanyf
f07d5c21c3
edit function
2015-11-05 11:52:53 +08:00
ruanyf
a6ec140c7f
edit object
2015-11-05 11:23:07 +08:00
ruanyf
7c2ba1b038
edit object
2015-10-31 13:16:06 +08:00
ruanyf
1b0805cb30
edit function/desturcturing/array
2015-10-30 22:49:54 +08:00
ruanyf
857944c681
edit docs/function
2015-10-29 12:09:13 +08:00
ruanyf
7c51ca6cf2
edit string & function
2015-10-27 08:30:17 +08:00
ruanyf
5c76160bc0
edit function
2015-10-22 17:44:44 +08:00