I have got this right, but not sure why I’m not getting to the next stage. Any suggestion will be greatly appreciated. Thanks!
const AVG_TEMPERATURES = {
today: 77.5,
tomorrow: 79
};
function getTempOfTmrw(avgTemperatures) {
"use strict";
// change code below this line
const { tomorrow : tempOfTomorrow } = AVG_TEMPERATURES;
// change code above this line
return tempOfTomorrow;
}
console.log(getTempOfTmrw(AVG_TEMPERATURES)); // should be 79