set object in javascript w3schools code example
Example 1: objects in javascript
let car = {
engineNumber: 1234
brand: 'BMW',
break: function (){}
}
Example 2: javascript object
const object = {
something: "something";
}
let car = {
engineNumber: 1234
brand: 'BMW',
break: function (){}
}
const object = {
something: "something";
}