Объявление объекта JavaScript
const object_name = {
key1: value1,
key2: value2
}
Bloody Badger
const object_name = {
key1: value1,
key2: value2
}
let objectName = {key:'value',key2:'value'}
// objects are always in key:value pair
let person = {
name: 'John',
age: 20
};