Shorthand for Creating and Destructuring Objects

objects using pre-defined variables during initialization

In the scope where an object is created, it is possible to use other variables for initialization.

Get hands-on with 1400+ tech skills courses.