From 02cff5f6ab75520ea7f4856e8d0927f13d1a6f82 Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Mon, 25 Jan 2016 12:13:50 +0000 Subject: [PATCH] Fix the instruction text in the Accessing Nested objects challenge This commit fixes the instruction text in the challenge to `Use bracket notation for properties with a space in their name.` from `Only use object notation for properties with a space in their name.` I have removed the extra `Only` on purpose for sake of grammar. closes #6422 --- .../basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json index 6075d7ff07..8c4c52ee83 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -3562,7 +3562,7 @@ "Here is a nested JSON Object:", "
var ourStorage = {
\"desk\": {
\"drawer\": \"stapler\"
},
\"cabinet\": {
\"top drawer\": {
\"folder1\": \"a file\",
\"folder2\": \"secrets\"
},
\"bottom drawer\": \"soda\"
}
}
ourStorage.cabinet[\"top drawer\"].folder2; // \"secrets\"
ourStorage.desk.drawer; // \"stapler\"
", "

Instructions

", - "Access the myStorage JSON object to retrieve the contents of the glove box. Only use object notation for properties with a space in their name." + "Access the myStorage JSON object to retrieve the contents of the glove box. Use bracket notation for properties with a space in their name." ], "releasedOn": "January 1, 2016", "challengeSeed": [