From 4da3c6cd00d0d4236cd052c0bbfba90379bdbb92 Mon Sep 17 00:00:00 2001 From: systimotic Date: Sat, 18 Feb 2017 23:46:26 +0100 Subject: [PATCH] Clarify instructions in the string immutability challenge --- .../basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json b/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json index 9afb311c5a..cb82a2cbb4 100755 --- a/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json +++ b/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json @@ -1486,7 +1486,7 @@ "cannot change the value of myStr to \"Job\", because the contents of myStr cannot be altered. Note that this does not mean that myStr cannot be changed, just that the individual characters of a string literal cannot be changed. The only way to change myStr would be to assign it with a new string, like this:", "
var myStr = \"Bob\";
myStr = \"Job\";
", "
", - "Correct the assignment to myStr to achieve the desired effect that is intended by myStr[0] = \"H\" ;." + "Correct the assignment to myStr so it contains the string value of Hello World using the approach shown in the example above." ], "releasedOn": "January 1, 2016", "challengeSeed": [