From e8c22f543e26279ca6cb54a88aa5dcc3b5ec23e6 Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Sun, 26 Feb 2017 14:28:29 -0800 Subject: [PATCH] Clarify concatenating strings with += - Be more specific in what needs to be done using the plus equals - Remove unnecessary line break before strings to be concatenated --- .../basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json b/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json index 798878b13d..b461fa9c83 100755 --- a/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json +++ b/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json @@ -1217,7 +1217,7 @@ "We can also use the += operator to concatenate a string onto the end of an existing string variable. This can be very helpful to break a long string over several lines.", "Note
Watch out for spaces. Concatenation does not add spaces between concatenated strings, so you'll need to add them yourself.", "
", - "Build myStr over several lines by concatenating these two strings:
\"This is the first sentence. \" and \"This is the second sentence.\" using the += operator." + "Build myStr over several lines by concatenating these two strings: \"This is the first sentence. \" and \"This is the second sentence.\" using the += operator. Use the += operator similar to how it is shown in the editor. Start by assigning the first string to myStr, then add on the second string." ], "releasedOn": "January 1, 2016", "challengeSeed": [