From a6d2660c7c2747034f592197a9b4d604e3752335 Mon Sep 17 00:00:00 2001 From: Lenin Kennedy Date: Tue, 5 Apr 2022 22:49:27 +0300 Subject: [PATCH] fix(curriculum): remove style note (#45625) --- .../basic-javascript/access-array-data-with-indexes.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/access-array-data-with-indexes.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/access-array-data-with-indexes.md index d2b02a21b6..774a661f7f 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/access-array-data-with-indexes.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/access-array-data-with-indexes.md @@ -25,8 +25,6 @@ const data = array[1]; The `console.log(array[0])` prints `50`, and `data` has the value `60`. -**Note:** There shouldn't be any spaces between the array name and the square brackets, like `array [0]`. Although JavaScript is able to process this correctly, this may confuse other programmers reading your code. - # --instructions-- Create a variable called `myData` and set it to equal the first value of `myArray` using bracket notation.