javascript 对象
var myDog = {
"name":"aaa",
"legs":5,
"tails":20,
"friends": ["sss","ddd"]
};
var testObj = {
"hat": "ballcap",
"shirt": "jersey",
"shoes": "cleats"
};
var hatValue = testObj.hat;
var shirtValue = testObj.shirt;
var testObj = {
"an entree": "hamburger",
"my side": "veggies",
"the drink": "water"
};
var entreeValue=testObj["an entree"];
var drinkValue=testObj["the drink"];