I’m stuck. I followed the example as close as possible but I’m not sure what I’m doing wrong.
Your code so far
// Setup
var myStorage = {
"car": {
"inside": {
"glove box": "maps",
"passenger seat": "crumbs"
},
"outside": {
"trunk": "jack"
}
}
};
// Only change code below this line
myStorage.car.inside; // "glovebox"
var gloveBoxContents = "maps";
Link to the challenge:
https://www.freecodecamp.org/challenges/accessing-nested-objects