From 5eb71b993f65547a6ab22e03a0bd059f80da1208 Mon Sep 17 00:00:00 2001 From: Logan Tegman Date: Thu, 29 Oct 2015 14:48:55 -0700 Subject: [PATCH] Fix Object Waypoints Typos Closes 3993 and closes 3994 and fixes some other typos --- seed/challenges/basic-javascript.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index b22ee617c7..14769b9818 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -747,9 +747,9 @@ "  \"friends\": [\"everything!\"]", "};", "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:", - "myDog.name = \"Happy Camper\";", - "Now when we run return myDog.name, instead of getting \"Camper\", we'll get his new name, \"Happy Camper\".", - "Let's update yourDog object's name property. Let's change her name from \"Coder\" to \"Happy Coder\"." + "ourDog.name = \"Happy Camper\";", + "Now when we run return ourDog.name, instead of getting \"Camper\", we'll get his new name, \"Happy Camper\".", + "Let's update the myDog object's name property. Let's change her name from \"Coder\" to \"Happy Coder\"." ], "tests": [ "assert(/happy coder/gi.test(myDog.name), 'message: Update myDog\\'s \"name\" property to equal \"Happy Coder\".');" @@ -784,8 +784,8 @@ "description": [ "You can add new properties to existing JavaScript objects the same way you would modify them.", "Here's how we would add a \"bark\" property to ourDog:", - "myDog.bark = \"bow-wow\";", - "Now when we run return myDog.bark, we'll get his bark, \"bow-wow\".", + "ourDog.bark = \"bow-wow\";", + "Now when we run return ourDog.bark, we'll get his bark, \"bow-wow\".", "Let's add a \"bark\" property to myDog and set it to a dog sound, such as \"woof\"." ], "tests": [ @@ -824,7 +824,7 @@ "title": "Delete Properties from a JavaScript Object", "description": [ "We can also delete properties from objects like this:", - "delete myDog.bark;", + "delete ourDog.bark;", "Let's delete the \"tails\" property from myDog." ], "tests": [