Skip to content

Commit 96928ce

Browse files
authored
Fix minor typo error (javascript-tutorial#812)
1 parent eb9ea7e commit 96928ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • 1-js/08-prototypes/04-prototype-methods/3-compare-calls

1-js/08-prototypes/04-prototype-methods/3-compare-calls/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
第一个调用中 `this == rabbit`,其他的 `this` 等同于 `Rabbit.prototype`,因为 `this` 就点符号前面的对象
2+
第一个调用中 `this == rabbit`,其他的 `this` 等同于 `Rabbit.prototype`,因为 `this` 就是点符号前面的对象
33

44
所以,只有第一个调用显示 `Rabbit`,其他的都显示的是 `undefined`
55

0 commit comments

Comments
 (0)