js variable object is defined code example
Example: js create object with properties
function Car(make, model, year) {
this.make = make;
this.model = model;
this.year = year;
}
function Car(make, model, year) {
this.make = make;
this.model = model;
this.year = year;
}