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.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.