diff --git a/README.md b/README.md index a566ede..c7300d5 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ - [this](#this) - [闭包](#闭包) - [作用域](#作用域) + - [原型](#原型) - [new](#new) - [变量提升](#变量提升) - [Class(类)](#class类) @@ -150,6 +151,16 @@ JS 数据类型分为两大类及八种数据类型,注意别漏了 ES6 新增 - [ ] [You Don't Know JS Yet: Scope & Closures](https://github.com/getify/You-Dont-Know-JS/tree/2nd-ed/scope-closures) - [ ] [The battle between function scope and block scope](https://www.deadcoderising.com/2017-04-11-es6-var-let-and-const-the-battle-between-function-scope-and-block-scope/) +### 原型 + +- [ ] 文档 + - [ ] [原型](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Object_prototypes) +- [ ] 推荐文章 + - [ ] [You Don't Know JS: this & Object Prototypes](https://github.com/getify/You-Dont-Know-JS/blob/1st-ed/this%20%26%20object%20prototypes/ch5.md) + - [ ] [深入理解 JavaScript 原型](https://mp.weixin.qq.com/s/1UDILezroK5wrcK-Z5bHOg) + - [ ] [深度解析原型中的各个难点](https://juejin.cn/post/6844903575974313992) + - [ ] [Prototypes in JavaScript](https://betterprogramming.pub/prototypes-in-javascript-5bba2990e04b) 需自备梯子 + ### new `new` 操作符可以帮助我们构建出一个实例,并且绑定上 `this`。