Skip to content

Commit 8628971

Browse files
authored
Remove duplicate "validationError" function
1 parent 4abbe5e commit 8628971

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/es6-promise/enumerator.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ import originalResolve from './promise/resolve';
2020
import originalThen from './then';
2121
import { makePromise, PROMISE_ID } from './-internal';
2222

23-
function validationError() {
24-
return new Error('Array Methods must be provided an Array');
25-
}
26-
2723
function validationError() {
2824
return new Error('Array Methods must be provided an Array');
2925
};

0 commit comments

Comments
 (0)