Pergunta de entrevista da empresa Diagnal

How can object destructuring be achieved in JavaScript?