JavaScript, Constructor Function, Prototype Chain, Front End Development.
wheels: 4, Number of seats: 4, gearType: "manual", color: "grey", forward: f} ford.go(); // the vehicle is moving When we look at the output in the console section, you can see that our gomethod has been added. But it is not right to add methods in this way. It is best to add methods using the