Objects and Object Constructors (TOP)
theOdinProject
Introduction
There are multiple ways to define objects but in most cases, it is best to use the object literal syntax as follows:
const myObject = {
property: 'Value!',
otherProperty: 77,
"obnoxious property": function() {
//...