Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5be428b

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /