about objects in javascript code example
Example 1: Build JavaScript Objects
var myDog = {
name: "gozi",
legs: 4,
tails: 1,
friends: ["Ted", "Fred"]
};
Example 2: objects in javascript
let car = {
engineNumber: 1234
brand: 'BMW',
break: function (){}
}