Update article.md

Give results of 'alert' ('true') rather than description of method. Code seems pretty self-explanatory.
This commit is contained in:
paroche 2019-10-03 18:30:18 -06:00 committed by GitHub
parent fc120b01ca
commit 73c20d8220
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ let rabbit = Object.create(animal);
alert(rabbit.eats); // true alert(rabbit.eats); // true
*!* *!*
alert(Object.getPrototypeOf(rabbit) === animal); // get the prototype of rabbit alert(Object.getPrototypeOf(rabbit) === animal); // true
*/!* */!*
*!* *!*