js object in code example
Example 1: js object
let car = {
name: "BMW",
colour: "black",
year: "2020",
owner: {
names = ["Andy" , "Steve" , "Tony" ]
}
};
Example 2: objects in javascript
var object = {'key':'value','the value can be anything',[1,null,'Dr.Hippo']};