Use Destructuring Assignment to Assign Variables from Objects #2

Tell us what’s happening:
So this gives me the right answer but it does’t past the last check, what gives.

Your code so far
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


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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15.

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

Nevermind, I was apparently supposed to use the argument passed through the function. Took a wild guess, still don’t understand how the hell that solution was supposed to be derived from what was given. The example just uses the one object, there’s no mention of using the argument passed through the function. Think this makes number 9 of 11 in the es6 section that I’ve found to be like this. It’s one thing to have to read between the lines but this seems like a little much.