You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/08-prototypes/04-prototype-methods/3-compare-calls/solution.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
2
-
The first call has `this == rabbit`, the other ones have `this`equal to`Rabbit.prototype`, because it's actually the object before the dot.
2
+
Panggilan pertama memiliki `this == rabbit`, yang lainnya memiliki `this`sama dengan`Rabbit.prototype`, karena itu sebenarnya adalah objek sebelum titiknya.
3
3
4
-
So only the first call shows`Rabbit`, other ones show`undefined`:
4
+
Jadi hanya panggilan pertama yang menampilkan`Rabbit`, lainnya menampilkan`undefined`:
0 commit comments