Variable assignment from Object values in JS

21 views Asked by At

What is the name or technical term of this form of variable declaration and assignment?

const obj = {a: 3, b: 5}
const { a: s, b: t } = obj;
console.log(s,t) // 3 5

0

There are 0 answers