Tell us what’s happening:
Describe your issue in detail here.
i cant see to see what the problem is here anybody help?
Your code so far
function Dog(name, color) {
this.numLegs = 4;
this.name = name;
this.color = color;
}
let terrier = new Dog (name, color);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
.
Challenge: Extend Constructors to Receive Arguments
Link to the challenge: