let myObject = {
"Property": 1,
"Property2": “entry”,
"Property3": “entry2”
}
To access specific properties within an object.
myObject.property;
Would access the first property within myObject
.
A secondary way to access specific properties of an object.
myObject[“Property”];
Would also access the first property within myObject
.
Object.value(myObject);
Object.keys(myObject);
Object.entries(myObject);