JavaScript concept with a cup of coffee and a laptop

Objects

Objects allow the grouping of related information into one unit. An object is created using curly braces.

Notice how there is information inside the curly braces. These are in the form of name/value pairs. They are called properties. Properties can hold any type of data.

To access these properties, we can use dot-object notation…

Happy Coding!

Clay Hess

Share this post

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email
Skip to content