Skip to content

Commit 22d0ef3

Browse files
committed
IE8: use isArray.
The function `isArray` is imported but not used. On IE 8, the method `Array.isArray` doesn't exist and we get an error.
1 parent d322009 commit 22d0ef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/es6-promise/enumerator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function Enumerator(Constructor, input) {
3030
makePromise(this.promise);
3131
}
3232

33-
if (Array.isArray(input)) {
33+
if (isArray(input)) {
3434
this._input = input;
3535
this.length = input.length;
3636
this._remaining = input.length;

0 commit comments

Comments
 (0)