Accessing Nested Objects Help

Tell us what’s happening:

Can’t seem to make this work, anyone can help me?

Your code so far

// Setup
var myStorage = {
  "car": {
    "inside": {
      "glove": "maps",
      "passenger seat": "crumbs"
     },
    "outside": {
      "trunk": "jack"
    }
  }
};

// Only change code below this line

var gloveBoxContents =  myStorage.car["inside"].glove;

// ```
**Your browser information:**

Your Browser User Agent is: ```Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 OPR/48.0.2685.35```.

**Link to the challenge:**
https://www.freecodecamp.org/challenges/accessing-nested-objects


ok so i fixed it, this dumb compiler finnaly accepted my answer,

this is the solution: var gloveBoxContents =  myStorage.car.inside["glove box"];

You are not supposed to change the original variable myStorage object’s property names/values. Reset your code, using the “Reset your code” button and do not modify the myStorage object.

The test expects you to access the “glove box” property, not some modified property name you gave it called “glove”.

Hey!
Yeah you’re right my bad :stuck_out_tongue:
Thanks for the help!