Skip to content

Commit fc34c42

Browse files
committed
call the function
1 parent 382e72a commit fc34c42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,8 @@ function findElement(arr, func) {
309309

310310
return undefined;
311311
}
312+
313+
findElement([1, 2, 3, 4], (num) => num % 2 === 0);
312314
```
313315

314316
#### Solution 2

0 commit comments

Comments
 (0)