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
This commit is contained in:
jefferson2z
2018-10-14 01:04:41 +02:00
committed by Aditya
parent 070d79b807
commit abc6c3c208

View File

@ -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");
},