define new name while destructuring
Define New Name While Destructuring
When destructuring objects or arrays in JavaScript, it is often useful to rename the extracted properties or elements to new names for easier readability or to avoid naming conflicts. This can be done using the object or array destructuring syntax with the colon (:) operator followed