Skip to content

Commit 5be428b

Browse files
committed
Fix function names
1 parent 4a2b8d3 commit 5be428b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/every.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import asyncForEach from './forEach';
22

3-
export default function asyncSome(arr, fn) {
3+
export default function asyncEvery(arr, fn) {
44
let resolved;
55
return new Promise((resolve, reject) => {
66
asyncForEach(

src/filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import asyncForEach from './forEach';
22

3-
export default function asyncSome(arr, fn) {
3+
export default function asyncFilter(arr, fn) {
44
const result = [];
55

66
return asyncForEach(

0 commit comments

Comments
 (0)