Before destructuring we get reference of value from objects. one by one using a dot operator.
But with destructuring get multiple references together like this.
In object destructuring variables name should be same as an object keys.
On this page of the site you can watch the video online Destructuring with object in javascript with a duration of hours minute second in good quality, which was uploaded by the user Logic Scaler 17 January 2023, share the link with friends and acquaintances, this video has already been watched 551 times on youtube and it was liked by 15 viewers. Enjoy your viewing!