one more commit before resuming on Berkeley side

This commit is contained in:
Quincy Larson
2015-10-28 10:11:46 -07:00
parent d2ce2275b3
commit 21fd983bb0

View File

@ -741,10 +741,10 @@
"After you've created a JavaScript object, you can update its properties at any time just like you would update any other variable.",
"For example, let's look at <code>ourDog</code>:",
"<code>var ourDog = {</code>",
"<code> \"name\": \"Camper\",</code>",
"<code> \"legs\": 4,</code>",
"<code> \"tails\": 1,</code>,",
"<code> \"friends\": [\"everything!\"]</code>",
"<code>&thinsp;&thinsp;\"name\": \"Camper\",</code>",
"<code>&thinsp;&thinsp;\"legs\": 4,</code>",
"<code>&thinsp;&thinsp;\"tails\": 1,</code>,",
"<code>&thinsp;&thinsp;\"friends\": [\"everything!\"]</code>",
"<code>};</code>",
"Since he's a particularly happy dog, let's change his name to \"Happy Camper\". Here's how we update his object's name property:",
"<code>myDog.name = \"Happy Camper\";</code>",
@ -773,13 +773,6 @@
"",
"// Only change code below this line.",
"",
"",
"",
"// Now delete the property tails",
"",
"",
"// Only change code above this line.",
"",
"(function(z){return z;})(myDog);"
],
"type": "waypoint",