New Object Functionality
Objects have been upgraded with ES2015. We'll go over short-hand property assignment and short-hand method naming. We'll go over getters and setters and see how they allow us to implement cleaner interfaces for working with data.
Properties
If we’re adding a variable as a property to an object, we’d do it like this.
Get hands-on with 1200+ tech skills courses.