Diagnal interview question

How can object destructuring be achieved in JavaScript?