Use Destructuring Assignment to Assign Variables from Nested Objects-something is wrong

Use Destructuring Assignment to Assign Variables from Nested Objects-something is wrong
0

#1

Why am I not using nested destructuring in my code block ?

  const {tomorrow : {max: maxOfTomorrow}}  = LOCAL_FORECAST ; // why this code is not equal to  LOCAL_FORECAST? 


```j

const LOCAL_FORECAST = {
  today: { min: 72, max: 83 },
  tomorrow: { min: 73.3, max: 84.6 }
};

function getMaxOfTmrw(forecast) {
  "use strict";
  // change code below this line
  const {tomorrow : {max: maxOfTomorrow}}  = LOCAL_FORECAST ;
  // change code above this line
  return maxOfTomorrow;
}

console.log(getMaxOfTmrw(LOCAL_FORECAST)); // should be 84.6
// in below the code Destructuring definition is equal to name of object "a".

const a = {
  start: { x: 5, y: 6},
  end: { x: 6, y: -9 }
};
const { start : { x: startX, y: startY }} = a;
console.log(startX, startY); // 5, 6


**Your browser information:**

User Agent is: <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36</code>.

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

#2

@snntaylan I think you may have the same problem they had here:

Does that help?