diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index 44b6794320..e6bece0896 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -1523,12 +1523,8 @@ "id": "56592a60ddddeae28f7aa8e1", "title": "Access Multi-Dimensional Arrays With Indexes", "description": [ - "One way to think of a multi-dimensional array, is as an array of arrays. When you use brackets to access your array, the first set of bracket refers to the outer-most array, and each subsequent level of brackets refers to the next level in.", - "For example:", - "
var arr = [", - "
[1,2,3],
[4,5,6],
[7,8,9],
[[10,11,12], 13, 14]
];
arr[0]; // equals [1,2,3]
",
- "arr[1][2]; // equals 6
",
- "arr[3][0][1]; // equals 11
",
+ "One way to think of a multi-dimensional array, is as an array of arrays. When you use brackets to access your array, the first set of bracket refers to the entries in outer-most array, and each subsequent level of brackets refers to the next level of entry in.",
+ "Example:var arr = [", "
[1,2,3],
[4,5,6],
[7,8,9],
[[10,11,12], 13, 14]
];arr[0]; // equals [1,2,3]
arr[1][2]; // equals 6
arr[3][0][1]; // equals 11
myArray
using bracket notation so that myData is equal to 8
"
],
@@ -1538,7 +1534,7 @@
],
"challengeSeed": [
"// Setup",
- "var myArray = [[1,2,3],[4,5,6], [7,8,9], [[10,11,12], 13, 14]];",
+ "var myArray = [[1,2,3], [4,5,6], [7,8,9], [[10,11,12], 13, 14]];",
"",
"// Only change code below this line.",
"var myData = myArray[0][0];",