Understanding Objects in JavaScript
What Are Objects (and Why Do We Need Them)?
An object in JavaScript is a collection of related data stored as key–value pairs.
Think of an object like a form that stores details about a person:
• name
understandingobjectsinjavascript26.hashnode.dev2 min read