Challenge Name
https://www.freecodecamp.org/challenges/make-instances-of-objects-with-a-constructor-function
Issue Description
It is possible to pass the challenge by assigning myCar with a plain object, then giving it wheels and nickname properties.
Related forum post:
https://forum.freecodecamp.org/t/make-instances-of-objects-with-a-constructor-function-right-code/160347
Your Code
var Car = function() {
this.wheels = 4;
this.engines = 1;
this.seats = 5;
};
// Only change code below this line.
var myCar = {};
myCar.nickname = "Betsy";
myCar.wheels = 4;
Screenshot

Challenge Name
https://www.freecodecamp.org/challenges/make-instances-of-objects-with-a-constructor-function
Issue Description
It is possible to pass the challenge by assigning
myCarwith a plain object, then giving itwheelsandnicknameproperties.Related forum post:
https://forum.freecodecamp.org/t/make-instances-of-objects-with-a-constructor-function-right-code/160347
Your Code
Screenshot