Tell us what’s happening:
My problem is that Dog is not defined.
What can I do to pass the test.
Your code so far
function dog() {
this.name = "Albert";
this.color = "blue";
this.numLegs = 2;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/object-oriented-programming/define-a-constructor-function/