diff --git a/curriculum/challenges/english/16-the-odin-project/top-learn-arrays-and-loops/learn-arrays-and-loops-lesson-g.md b/curriculum/challenges/english/16-the-odin-project/top-learn-arrays-and-loops/learn-arrays-and-loops-lesson-g.md index d4f2b1fe27e..35e2830dbe0 100644 --- a/curriculum/challenges/english/16-the-odin-project/top-learn-arrays-and-loops/learn-arrays-and-loops-lesson-g.md +++ b/curriculum/challenges/english/16-the-odin-project/top-learn-arrays-and-loops/learn-arrays-and-loops-lesson-g.md @@ -18,7 +18,7 @@ const newArray = array.map((arrayValue) => { console.log(newArray); // Output: [2, 4, 6, 8, 10] ``` -The `map()` method creates a new array by applying the function `(arrayValue) => { return arrayValue * 2;` to each element of the original array. This is particularly useful when you want to transform the elements of an array without changing the original array. +The `map()` method creates a new array by applying the function `(arrayValue) => { return arrayValue * 2; }` to each element of the original array. This is particularly useful when you want to transform the elements of an array without changing the original array. # --questions--