482 B
482 B
title | localeTitle |
---|---|
Accessing Object Properties with Dot Notation | Acceso a las propiedades del objeto con notación de puntos |
Acceso a las propiedades del objeto con notación de puntos
Aquí hay una posible solución:
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