fix(curriculum): wrap method name in backticks (#63904)

This commit is contained in:
Pravin Avhad
2025-11-17 21:29:36 +05:30
committed by GitHub
parent 872ad47466
commit 88a607ce1f
@@ -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!";