{"size": 612, "ext": "js", "max_stars_repo_path": "01-basic-javascript/093-accessing-nested-objects.js", "max_stars_repo_name": "hgonzaga/freecodecamp-js-algorithms-data-structures", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "01-basic-javascript/093-accessing-nested-objects.js", "max_issues_repo_name": "hgonzaga/freecodecamp-js-algorithms-data-structures", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "01-basic-javascript/093-accessing-nested-objects.js", "max_forks_repo_name": "hgonzaga/freecodecamp-js-algorithms-data-structures", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 29.1428571429, "max_line_length": 111, "alphanum_fraction": 0.6503267974}
/*
Accessing Nested Objects:
Access the myStorage object and assign the contents of the glove box property to the gloveBoxContents variable.
Use dot notation for all properties where possible, otherwise use bracket notation.

- gloveBoxContents should equal the string maps.
- Your code should use dot and bracket notation to access myStorage.
 */
const myStorage = {
    "car": {
        "inside": {
            "glove box": "maps",
            "passenger seat": "crumbs"
        },
        "outside": {
            "trunk": "jack"
        }
    }
};

const gloveBoxContents = myStorage.car.inside["glove box"];