const temps = {yesterday: 70, today: 71, tomorrow: 72};
const {today: highToday, tomorrow: highTomorrow} = temps;
/ Destructuring Assignment
Created
Tue, 02 Jun 2020 18:38:53 +0000
const temps = {yesterday: 70, today: 71, tomorrow: 72};
const {today: highToday, tomorrow: highTomorrow} = temps;