mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-26 12:03:36 -05:00
477 B
477 B
title, localeTitle
| title | localeTitle |
|---|---|
| Accessing Object Properties with Dot Notation | Acessando propriedades de objeto com notação de ponto |
Acessando propriedades de objeto com notação de ponto
Aqui está uma solução possível:
var testObj = {
"hat": "ballcap",
"shirt": "jersey",
"shoes": "cleats"
};
// Only change code below this line
var hatValue = testObj.hat; // Change this line
var shirtValue = testObj.shirt; // Change this line