ES6 introduced several syntactical sugars for defining object literals, making code more concise and expressive. These enhancements are particularly useful in factory functions and state management.
1. Property Shorthand
If a variable name matches the property key, you can omit the value.