From bf558c4a4fe76bb538f6137b75d5808ec5a22d03 Mon Sep 17 00:00:00 2001 From: Siddhant Chadha Date: Sat, 22 Apr 2017 19:57:18 +0530 Subject: [PATCH] fix typo in Mutate an Array Declared with const --- .../02-javascript-algorithms-and-data-structures/es6.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/02-javascript-algorithms-and-data-structures/es6.json b/challenges/02-javascript-algorithms-and-data-structures/es6.json index c8b3912042..deb4d0c82e 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/es6.json +++ b/challenges/02-javascript-algorithms-and-data-structures/es6.json @@ -145,7 +145,7 @@ "As you can see, you can mutate the object ([5, 6, 7]) itself and the variable identifier (s) will still point to the altered array. Like all arrays, the array assigned to s is mutable, but because const was used, you cannot use the variable identifier, s, to point to a different array using the assignment operator.", "To make an object immutable, you can use Object.freeze().", "
", - "An array is delcared as const s = [5, 7, 2]. Change the array to [2, 5, 7].", + "An array is declared as const s = [5, 7, 2]. Change the array to [2, 5, 7].", "Note
Don't forget to add \"use strict\"; to the top of your code." ], "challengeSeed": [