Object Destructuring

Last Updated: October 8, 2021
const person ={
    firstName: 'Tom',
    lastName: 'Moody',         
}
        
const {firstName,lastName} = person
console.log(firstName,lastName)