What is destructuring, conceptually?
unpacking values from arrays, or properties from objects into variables
What is the syntax for Object destructuring?
let {
propertyname: variablename
}=objectname
before the colon is the property of the object and after the colon is the variable
What is the syntax for Array destructuring?
let num = [1,2,3,4]
let [a,b,c,d]=num
a=1, b=2, c=3, d=4
How can you tell the difference between destructuring and creating Object/Array literals?
the object/array variable name is declared after the object/array literal for destructuring; let object/array literal = variableName instead of let variableName=object/array literal