From c32e89baff755d83e977e7981e33d104d69e96c2 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Fri, 21 Aug 2015 12:37:47 -0700 Subject: [PATCH] fix delete is a keyword not a function --- seed/challenges/basic-javascript.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index e39b710b92..dc618ac9b3 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -759,7 +759,7 @@ "For example, we can add properties to objects like this:", "myObject.myProperty = \"myValue\";", "We can also delete them like this:", - "delete(myObject.myProperty);", + "delete myObject.myProperty;", "Let's add the property \"bark\", and delete the property \"tails\"." ], "tests":[ @@ -775,7 +775,7 @@ "// };", "", "// ourDog.bark = \"arf!\";", - "// delete(ourDog.tails);", + "// delete ourDog.tails;", "", "var myDog = {", " \"name\": \"Camper\",",