Fix: 1-js/08-prototypes/01-prototype-inheritance#474
Merged
MartinsYong merged 3 commits intojavascript-tutorial:masterfrom Sep 14, 2019
Merged
Fix: 1-js/08-prototypes/01-prototype-inheritance#474MartinsYong merged 3 commits intojavascript-tutorial:masterfrom
MartinsYong merged 3 commits intojavascript-tutorial:masterfrom
Conversation
MartinsYong
suggested changes
Sep 7, 2019
| 请注意 `__proto__` 与 `[[Prototype]]` **不一样**。这是一个 getter/setter。我们之后会讨论如何设置它,但是现在 `__proto__` 工作的很好。 | ||
|
|
||
| 如果我们在 `rabbit` 中查找一个属性,而且它丢失了,JavaScript 会自动从 `animal` 中获取它。 | ||
| 如果我们在 `rabbit` 中查找一个属性,而且它缺失了,JavaScript 会自动从 `animal` 中获取它。 |
Member
There was a problem hiding this comment.
原文是:
If we look for a property in `rabbit`, and it's missing, JavaScript automatically takes it from `animal`.
我觉得 如果我们在 `rabbit` 中查找一个缺失的属性,JavaScript 会自动从 `animal` 中获取它。 比较好
|
Please make the requested changes. After it, add a comment "/done". |
MartinsYong
approved these changes
Sep 14, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目标章节: 1-js/08-prototypes/01-prototype-inheritance/article.md
当前上游最新 commit:*
所做更改如下:
文件名 | 参考上游 commit | 更改(理由)
article.md | * | 修改部分错误