Mid JavaScript

Destructuring assignment:?

const [a,b]=[1,2]; const {x,y}={x:10,y:20};

More from JavaScript Tutorial

All questions for this course