mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
518 B
518 B
| title | localeTitle |
|---|---|
| Accessing Object Properties with Bracket Notation | الوصول إلى خصائص كائن مع تدرج قوس |
الوصول إلى خصائص كائن مع تدرج قوس
فيما يلي حل واحد ممكن:
`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 `