Skip to content

Commit 73c20d8

Browse files
authored
Update article.md
Give results of 'alert' ('true') rather than description of method. Code seems pretty self-explanatory.
1 parent fc120b0 commit 73c20d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/08-prototypes/04-prototype-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ let rabbit = Object.create(animal);
2828
alert(rabbit.eats); // true
2929

3030
*!*
31-
alert(Object.getPrototypeOf(rabbit) === animal); // get the prototype of rabbit
31+
alert(Object.getPrototypeOf(rabbit) === animal); // true
3232
*/!*
3333

3434
*!*

0 commit comments

Comments
 (0)