Issue with ES6: Use Destructuring Assignment

I’m pretty lost with this lesson because I feel pretty certain that I did what it asks.

  • getTempOfTmrw(AVG_TEMPERATURES) should be 79

  • destructuring with reassignment was used

The code they give:

  today: 77.5,
  tomorrow: 79

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

I change the one line to:

const { tomorrow: tempOfTomorrow } = AVG_TEMPERATURES;

However it still says that I have not done

destructuring with reassignment was used

Is there a special way I was supposed to format it or anything?

Well shoot, it took me posting and looking at my post for me to realize I was assigning it to the global const and not the local variable which is why it was failing.