-
-
Save codecademydev/d5260c51fb2ad4b984a5a05198dc27b9 to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Take a look at our next example object, a dog | |
var dog = { | |
species: "greyhound", | |
weight: 60, | |
age: 4 | |
}; | |
var species = dog["species"]; | |
// fill in the code to save the weight and age using bracket notation | |
var weight = dog["weight"]; | |
var age = dog["age"]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment