FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs(oop): add this · zhangninggit/javascript-tutorial@f36114a · GitHub

Commit f36114a

Browse files
committed
docs(oop): add this
1 parent 0de59bf commit f36114a

3 files changed

Lines changed: 851 additions & 1 deletion

File tree

‎chapters.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@
3535
- stdlib/json.md: JSON 对象
3636
- oop/: 面向对象编程
3737
- oop/new.md: 实例对象与 new 命令
38+
- oop/this.md: this 关键字
3839
- advanced/: 高级语法
3940
- advanced/strict.md: 严格模式

‎docs/oop/new.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,5 +251,5 @@ person2.greeting() // Hi! I'm 张三.
251251
252252
上面代码中,对象`person1``person2`的模板,后者继承了前者的属性和方法。
253253
254-
`Object.create()`的详细介绍,请看下文的相关章节
254+
`Object.create()`的详细介绍,请看后面的相关章节
255255

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL