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

1397 Commits

Author SHA1 Message Date
龙腾道
fa183748b3
Update regex.md 2019-09-14 22:34:42 +08:00
ruanyf
10338972d5 docs(class): fix #906 2019-09-14 17:37:20 +08:00
Vincent Hy
6128c2eec3 更新 'WeaKSet' 名词拼写 2019-09-11 14:02:19 +08:00
Ruan YiFeng
6efba60c38
Merge pull request #904 from lc-soft/patch-1
docs(proxy): add spaces around the operator
2019-09-10 12:12:48 +08:00
ruanyf
3baba14fbe docs(object): edit 简洁表示法 2019-09-07 13:19:15 +08:00
Liu
176fe9dcd6
docs(proxy): add spaces around the operator 2019-09-06 18:11:51 +08:00
cyan
6040c3557a 改正语序 2019-09-05 17:30:15 +08:00
Ruan YiFeng
583edc3608
Merge pull request #899 from LongTengDao-fork-C/gh-pages
改进措辞
2019-08-27 19:19:07 +08:00
Ruan YiFeng
32bf97985d
Merge pull request #898 from LongTengDao-fork-B/gh-pages
改正错别字
2019-08-27 19:17:42 +08:00
ruanyf
26220ed097 docs(proposals): add import.meta 2019-08-26 19:53:21 +08:00
龙腾道
6e1e8d933c
改进措辞 2019-08-26 05:23:50 +08:00
龙腾道
b7e5848a48
改正错别字 2019-08-26 05:19:00 +08:00
ruanyf
a9217ff93e docs(proposals): add Realm API 2019-08-23 13:29:37 +08:00
ruanyf
3eb580097f docs(function): edit tail call 2019-08-19 12:43:12 +08:00
wangsir
8b126e5d76
Update promise.md
Promise.prototype.then(),当then中的回调函数返回一个Promise对象时,后面的then中的回调函数不应该写上funcA、funcB这样的方法名,会让人误以为是函数定义,并未调用,造成阅读困难!
2019-08-02 14:20:13 +08:00
ruanyf
4bb8b170e6 docs(function): add ES2019 proposals 2019-07-30 18:52:33 +08:00
ruanyf
ac5a037098 docs(proposal): add Null 判断运算符 2019-07-30 17:52:53 +08:00
ruanyf
2f1c2717bf docs(proposal): edit optional chaining 2019-07-30 00:23:37 +08:00
ruanyf
f828a2c6b4 docs(map): fixed #887 2019-07-25 23:05:21 +08:00
ruanyf
859f740c95 docs(decorator): replace 修饰 to 装饰 2019-07-22 12:21:57 +08:00
ruanyf
b89747b02a docs(decorator): edit decorator 2019-07-21 04:37:26 +08:00
龙腾道
c82936863b
将块级作用域的取代范围重新限定回匿名 IIFE
具名 IIFE 可能用于临时递归,块级作用域取代不了。
上次网友修改对于概念表述是更严谨了,但这里的关注点并不是 IIFE 本身,而是块级作用域。
所以这次尝试修改成不犯概念错误的情况下,回归教程章节本意。
2019-07-20 15:28:33 +08:00
Amy
ae011d17ae
fix: typing error 2019-07-11 16:25:49 +08:00
AnHongpeng
e1552ad457
Update set-map.md
统一 Set、WeakSet、Map 实例属性和方法描述,使用 xxx.prototype.xxx 表示。
2019-07-02 14:37:25 +08:00
AnHongpeng
0cd5d54883
Update set-map.md
这里补充了前提条件以消除阅读时的歧义,读起来也更加通畅了 ^_^
2019-07-02 10:34:39 +08:00
ruanyf
e6a36b4398 docs(style): fix arrow function 2019-07-01 13:53:09 +08:00
bigbird231
61d8735cc5
Update style.md 2019-07-01 09:29:15 +08:00
ruanyf
95d62ea56c docs(string-methods): refact String.raw() 2019-06-17 15:28:34 +08:00
Pan
e7000d6368 docs(async): refine sleep 2019-06-12 00:19:46 +08:00
ruanyf
50ec743b29 docs(async): edit slepp() 2019-06-11 14:03:19 +08:00
ruanyf
db8b9171ae docs(async): add slepp() 2019-06-11 11:13:11 +08:00
ruanyf
b08e47e674 docs(array): fixed #868 2019-06-09 23:06:55 +08:00
ruanyf
c00389ae77 docs(async): add top-level await 2019-06-08 14:50:08 +08:00
ruanyf
98e3bcb2df docs: edit async-iterator 2019-06-08 13:05:53 +08:00
ruanyf
6545088030 docs: 异步遍历器独立成一章 2019-06-08 02:20:08 +08:00
maguowei
77e862e6e3 docs(reflect): 🎨fix format 2019-05-30 10:08:33 +08:00
扩散性百万甜面包
66e1b41b50
docs: fix lint 2019-05-29 23:56:43 +08:00
Ruan YiFeng
382807185e
Merge pull request #860 from waitingsong/arraybuffer
docs(arrayBuffer): 更新排版相关
2019-05-26 21:08:34 +08:00
ruanyf
0a5db0d02a docs(string-methods): edit 2019-05-26 20:41:20 +08:00
Ruan YiFeng
424d5e45af
Merge pull request #859 from waitingsong/string-methods
docs(string): 增加对于多字节 UTF-16 字符元素展开方法例子
2019-05-26 20:33:56 +08:00
waiting
f285f0dcad
docs(arrayBuffer): 调整语句组织形式提高易读性
- 本段落主题为 `TypedArray.prototype.length`,段内语句保持主语一致为 `length` 可保持语句通顺性,提高理解速度
- `前者` 既指代文前的 `length` 也契合下方代码中在前的 `a.length` 语句,承上启下让这一段落的文字和代码有机地组合
2019-05-26 16:43:16 +08:00
waiting
2ae7225df1
docs(arrayBuffer): 列表根据首字母排序 2019-05-26 16:19:18 +08:00
waiting
7bc3ca6b7a
docs(arrayBuffer): 列表添加内部跳转链接 2019-05-26 16:15:05 +08:00
ruanyf
fe02a92ccc docs(arraybuffer): edit arraybuffer 2019-05-26 15:36:37 +08:00
waiting
aebcc496ee
docs(string): 增加对于多字节 UTF-16 字符元素展开方法例子
v8 7.2 引擎的 spread 展开运算性能比 for-of 更高
ref: https://v8.js.cn/blog/spread-elements/
2019-05-25 17:30:16 +08:00
waiting
b9349b144d
docs(arrayBuffer): 更新 ArrayBuffer/字符串 相互转换函数,支持多语言及多编码
1. 原方法对于非 Unicode BMP 基本平面字符支持不理想。改为使用实验性 TextEncoder/TextDecoder 接口实现。
2. 浏览器支持列表见函数备注
3. Node.js v8.3 开始在 util 对象下实现接口,v11 开始提供全局接口
4. 函数名使用 ab (而非 buf)代表 ArrayBuffer ,避免与 Node.js 的 Buffer (Uint8Array的一个扩展)混淆
5. 虽然是 ECMA js 文档,考虑到 TypeScript 日益壮大,并且函数签名更利于文档规范化,故以带有类型的 TypeScript 代码展示
2019-05-23 20:52:58 +08:00
ruanyf
dd69d69cc4 docs(number): fix #856 2019-05-19 00:06:01 +08:00
ruanyf
7518f7b12d docs(class-extends): fix #854 2019-05-13 17:24:27 +08:00
Ruan YiFeng
62b5147d21
Merge pull request #850 from wfzong/patch-3
Symble toString 修改为函数执行
2019-05-08 07:34:09 -07:00
ruanyf
62fc400d6f docs(reflect): refact text 2019-05-08 22:31:09 +08:00