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

142 Commits

Author SHA1 Message Date
Ricardo Chan
2f908a58ba
完善Reflect.ownkeys()方法的描述
```
Reflect.ownKeys(target)
Returns an array of the target object's own (not inherited) property keys.
```
Refrence: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect
2020-05-08 15:20:46 +08:00
ruanyf
cd0310c978 docs(object): 修改扩展运算符自动执行取值函数 get 的例子 2020-03-23 20:19:08 +08:00
ruanyf
653f87a5e7 docs: fix #937 2019-12-27 18:18:38 +08:00
ruanyf
c4f4570f67 docs(object): fix #931 2019-12-07 22:08:20 +08:00
ruanyf
726e37ecde docs(object): edit object 2019-12-07 18:16:49 +08:00
ruanyf
f4ce061d56 docs(object): 链判断运算符移入 Object 2019-12-07 17:42:05 +08:00
ruanyf
6918f7abaa docs(object): Null 判断运算符移入 Object 章节 2019-12-07 01:01:06 +08:00
ruanyf
3baba14fbe docs(object): edit 简洁表示法 2019-09-07 13:19:15 +08:00
bigbird231
0c61cc13ec
update object.md
let {x}=null就会报错了
let {...x}=null才会体现解构中...运算符引起报错
其实任何对null和undefined的解构都会报错
2019-04-08 18:33:06 +08:00
Chen Fengyuan
7d266f0ce7 docs: fix typos 2019-01-23 15:06:56 +08:00
ruanyf
7791c64d30 docs(array): edit spread 2019-01-08 22:17:08 +08:00
ruanyf
52bca44c4c docs(object): edit spread operator 2018-12-26 11:33:44 +08:00
ruanyf
6a10936d64 docs(object): edit 扩展运算符 2018-11-10 17:59:52 +08:00
ruanyf
a0dab18d36 docs: object 一章拆分 2018-11-10 11:36:10 +08:00
snow212-cn
6583714f3b
Update object.md
这两段不知所云的英文插进代码段要干什么
2018-06-07 22:34:19 +08:00
taxilng
4f5db47055
Update object.md
__proto__属性:第一个例子,注释,ES5,ES6写反了
2018-05-22 14:30:21 +08:00
ruanyf
592ab333d8 docs(object): fix object spread #630 2018-03-25 20:38:17 +08:00
王福宗
3d8af6149c
给当前对象加上同名属于,形成对比
给当前对象加上同名属于,由于值不同,会有更直观的对比~
同时,也和最后一个例子有呼应,方便初学者理解
2018-03-03 20:35:02 +08:00
ruanyf
14c45fe2f5 doc: update to ES2018 2018-01-29 08:47:04 +08:00
Jing Ma
7dd83344b6
Updated result of examples 2017-11-22 11:50:53 +08:00
Ika
e8fdb00040 docs: consistent style 2017-11-12 18:01:54 +08:00
ruanyf
ce5de76c40 docs(object): edit object'clone 2017-11-01 16:26:36 +08:00
ruanyf
f6c7ded8da docs(object): add object spread #517 2017-10-11 12:19:43 +08:00
ruanyf
a782099ff2 docs(object): edit object/super 2017-10-09 11:52:51 +08:00
ruanyf
55dc77e01d docs(object): edit object/Object.assign 2017-10-08 13:47:40 +08:00
waiting
7b2b8f1e46 docs: use let/const instead of var 2017-09-24 17:14:17 +08:00
ruanyf
fb2930d272 refactor(object): edit object/enumerable 2017-08-14 11:27:05 +08:00
ruanyf
2fe1490d27 docs(object): edit object 2017-07-30 10:11:00 +08:00
ruanyf
e35fcfda61 docs(asyce): edit async Generator 2017-07-02 17:15:38 +08:00
ruanyf
8c8be74712 docs(array): move spread operator into array chapter 2017-07-02 09:37:23 +08:00
ruanyf
4019d9d01c docs: edit Object 2017-06-04 12:47:03 +08:00
ruanyf
d0865f0773 docs: edit Object 2017-06-04 12:42:27 +08:00
Ruan YiFeng
595ea3f68c Merge pull request #385 from jacty/patch-7
typo
2017-04-26 08:29:59 +08:00
Ruan YiFeng
7b7ab6ff28 Merge pull request #384 from jacty/patch-6
typo
2017-04-26 08:27:03 +08:00
Jacty
34f321ec99 typo
typo
2017-04-25 21:30:00 +08:00
Jacty
fd9f4d6d00 typo
typo
2017-04-25 20:53:21 +08:00
Jacty
e06759e7ef 这里应该是说浅拷贝吧?
这里应该是说浅拷贝吧?前文说过Object.assign()是浅拷贝呀~
2017-04-25 20:51:59 +08:00
ruanyf
b2182920bb docs(symbol): edit symbol 2017-04-21 13:58:23 +08:00
ruanyf
15b962627e docs(object): edit object 2017-04-19 20:16:24 +08:00
刘健超
b8959b2e6d Update object.md
错别字:“预算”->“运算”
2017-03-28 19:34:01 +08:00
ruanyf
fee336618b docs(object): edit Object.setPrototypeOf & Object.getPrototypeOf 2017-03-04 11:04:48 +08:00
ruanyf
4d06e3681d docs(object): add object.assign 2017-02-28 17:45:38 +08:00
ruanyf
6496d019b7 docs(object): add object.assign 2017-02-28 17:42:14 +08:00
ruanyf
b96a3fd1d9 docs(object): add object.assign 2017-02-28 17:39:26 +08:00
ruanyf
2b9fe071df docs(object): edit spread operator 2017-02-09 13:55:23 +08:00
ruanyf
f66e7cb391 docs(let): edit let 2017-02-07 11:38:45 +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
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