Question: Use any car Using the cars.html code, rewrite the code to include a new object property called factory by using the prototype property keyword. For
Using the cars.html code, rewrite the code to include a new object property called "factory" by using the prototype property keyword. For example: function Silverado (company, Type , Model, Color, Year) { = this.company = "Chevy ", this. Type "truck ", this. Model "Silverado ", this.color "black ", this. Year = "2021 " } Silverado.prototype.factory "North Carolina
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
