* fix: restructure certifications guide articles * fix: added 3 dashes line before prob expl * fix: added 3 dashes line before hints * fix: added 3 dashes line before solutions
469 B
469 B
title
title |
---|
Accessing Object Properties with Bracket Notation |
Accessing Object Properties with Bracket Notation
Solutions
Solution 1 (Click to Show/Hide)
var testObj = {
"an entree": "hamburger",
"my side": "veggies",
"the drink": "water"
};
// Only change code below this line
var entreeValue = testObj["an entree"]; // Change this line
var drinkValue = testObj["the drink"]; // Change this line