Merge pull request #1413 from paroche/patch-44

Update article.md
This commit is contained in:
Ilya Kantor 2019-10-07 04:48:20 +03:00 committed by GitHub
commit f1d070f517
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
*/!* */!*
*!* *!*