From abc6c3c2088e2ee7d7688ce8247aa5a9a7c6c96d Mon Sep 17 00:00:00 2001 From: jefferson2z Date: Sun, 14 Oct 2018 01:04:41 +0200 Subject: [PATCH] Fix typo on OOP challenge (#18616) * Fix type on OOP as requested on issue #18091 fix: numLegs: 2 to numLegs: 4 on challenge: Remember to Set the Constructor Property when Changing the Prototype * Update remember-to-set-the-constructor-property-when-changing-the-prototype.english.md --- ...onstructor-property-when-changing-the-prototype.english.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/remember-to-set-the-constructor-property-when-changing-the-prototype.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/remember-to-set-the-constructor-property-when-changing-the-prototype.english.md index 0e2fa69128..62244990bd 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/remember-to-set-the-constructor-property-when-changing-the-prototype.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/remember-to-set-the-constructor-property-when-changing-the-prototype.english.md @@ -42,7 +42,7 @@ function Dog(name) { // Modify the code below this line Dog.prototype = { - numLegs: 2, + numLegs: 4, eat: function() { console.log("nom nom nom"); }, @@ -68,7 +68,7 @@ function Dog(name) { } Dog.prototype = { constructor: Dog, - numLegs: 2, + numLegs: 4, eat: function() { console.log("nom nom nom"); },