javascript call object property 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;
}