I’ve tried but still
checkObj({gift: "pony", pet: "kitten", bed: "sleigh"}, "house")
should return the string
Not Found
.
checkObj({city: "Seattle"}, "district")
should return the string
Not Found
.
checkObj({pet: "kitten", bed: "sleigh"}, "gift")
should return the string
Not Found
.
is showing,please help
**Your code so far**
var myStorage = {
"car": {
"inside": {
"glove box": "maps",
"passenger seat": "crumbs"
},
"outside": {
"trunk": "jack"
}
}
};
var gloveBoxContents = undefined;
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
Challenge: Accessing Nested Objects
Link to the challenge: