What is happen here

What is happen here
0

#1

Tell us what’s happening:

Your code so far

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

// Only change code below this line

var gloveBoxContents = "myStorage."; // Change this line

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36.

Link to the challenge:


#2

Hey @shazif,
you need to access the myStorage object. What you have done is assign the string literal “myStorage” to the variable gloveBoxContents.

I suggest you go over accessing objects to get a better understanding of what needs to be done.
Here is a link:
https://www.w3schools.com/js/js_objects.asp