object destructuring Use destructuring to pass variables to an object. #javascript#object#es6 var color = "red"; var shape = "square"; buildObject({ color, shape }); copy