Need help with Destructuring Assignment assignment

Tell us what’s happening:
i do not understand how to apply the Destructuring Assignment to the code
i tried to apply it to the AVG_TEMPERATURES object but i get an error,

Your code so far


const AVG_TEMPERATURES = {
  today: 77.5,
  tomorrow: 79
};

function getTempOfTmrw(avgTemperatures) {
  "use strict";
  // change code below this line
  const{today,tomorrow} = AVG_TEMPERATURES;
  const tempOfTomorrow = undefined; // change this line
  // change code above this line
  return tempOfTomorrow;
}

console.log(getTempOfTmrw(AVG_TEMPERATURES)); // should be 79

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-objects

You are given an argument variable avgTemperatures, but you are not using it at all.

When destructing an object use the properties name in order to grab the value from that property. --You are doing this when you declared const {today, tomorrow }
You effectively created a two constants with the value from the objects property.
The last step would be to use the right constant.
The problem is asking you to return that value.

Also to note, the function has a parameter set to the passed in argument. You should use said parameter instead of reaching out side your local scope for the global. The passed in argument is the global const, so stick with the parameter.