w3schools javascript brackets notation for objects code example
Example 1: objects javascript
function Dog() {
this.name = "Bailey";
this.colour = "Golden";
this.breed = "Golden Retriever";
this.age = 8;
}
Example 2: javascript object
const object = {
something: "something";
}