In javascript you can do things like:
const person = {name: 'Tom', surname: 'Smith'};
const { name } = person
and then you will have name equal to 'Tom'.
The question is - how is this "operation" of taking name from person and storing it as variable called?