diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/refactor-global-variables-out-of-functions.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/refactor-global-variables-out-of-functions.md index f623f63e9e..0e0d771d01 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/refactor-global-variables-out-of-functions.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/refactor-global-variables-out-of-functions.md @@ -89,7 +89,7 @@ assert( const bookList = ["The Hound of the Baskervilles", "On The Electrodynamics of Moving Bodies", "PhilosophiƦ Naturalis Principia Mathematica", "Disquisitiones Arithmeticae"]; // Change code below this line -function add (bookName) { +function add(bookName) { bookList.push(bookName); return bookList; @@ -98,7 +98,7 @@ function add (bookName) { } // Change code below this line -function remove (bookName) { +function remove(bookName) { const book_index = bookList.indexOf(bookName); if (book_index >= 0) {