diff --git a/curriculum/challenges/english/blocks/review-javascript-strings/6723c1946e4cd7909a836bb4.md b/curriculum/challenges/english/blocks/review-javascript-strings/6723c1946e4cd7909a836bb4.md index 5fe19d511e8..670d170626d 100644 --- a/curriculum/challenges/english/blocks/review-javascript-strings/6723c1946e4cd7909a836bb4.md +++ b/curriculum/challenges/english/blocks/review-javascript-strings/6723c1946e4cd7909a836bb4.md @@ -105,7 +105,7 @@ const text = "I like cats"; console.log(text.replace("cats", "dogs")); // "I like dogs" ``` -- **The `replaceAll()` Method**: This method allows you to find all occurrences of a specified value (a word, character, or pattern) in a string and replace them with another value. It works like replace(), but instead of stopping after the first match, it updates every match found in the string. +- **The `replaceAll()` Method**: This method allows you to find all occurrences of a specified value (a word, character, or pattern) in a string and replace them with another value. It works like `replace()`, but instead of stopping after the first match, it updates every match found in the string. ```js const text = "I love cats and cats are so much fun!";