how to use myObject[] js code example
Example 1: javascript object
const object = {
something: "something";
}
Example 2: js create object with properties
function Car(make, model, year) {
this.make = make;
this.model = model;
this.year = year;
}