Skip to content

Commit feb4fd4

Browse files
committed
Question 454: JS string .some() method doesn't exist
1 parent 582f4a2 commit feb4fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8485,7 +8485,7 @@ The execution context is created when a function is called. The function's code
84858485
There are several built-in higher order functions exists on arrays, strings, DOM and promise methods in javascript. These higher order functions provides significant level of abstraction. The list of functions on these categories are listed below,
84868486
1. **arrays:** map, filter, reduce, sort, forEach, some etc.
84878487
2. **DOM**: The DOM method `element.addEventListener(type, handler)` also accepts the function handler as a second argument.
8488-
3. **Strings:** .some() method
8488+
3. **Strings:** replace() method.
84898489
84908490
84918491
**[⬆ Back to Top](#table-of-contents)**

0 commit comments

Comments
 (0)