From 97248f677eb4f467c095d123f4204e1c2786adf0 Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Sun, 17 Jan 2016 21:56:12 -0800 Subject: [PATCH] Add code tags to myStr in instructions --- .../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 e008affe6c..7a3c72e673 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -1116,7 +1116,7 @@ "In Javascript, String values are immutable, which means that they cannot be altered once created.", "For example, the following code:", "
var myStr = \"Bob\";
myStr[0] = \"J\";
", - "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:", + "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\";
", "

Instructions

", "Correct the assignment to myStr to achieve the desired effect."