JavaScript Best Practices — Objects
JavaScript is a very forgiving language. It’s easy to write code that runs but has mistakes in it.
In this article, we’ll look at the best way to work with objects in our JavaScript code.
Use Property Value Shorthand
The property value shorthand is a great way to shorten our way that we define our objects.