Skip to content

Commit

Permalink
Remove unused isArray polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
kenany committed Apr 22, 2019
1 parent ceaa101 commit 39d7bbb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ ConcatStream.prototype.getBody = function () {
return this.body
}

var isArray = Array.isArray || function (arr) {
return Object.prototype.toString.call(arr) == '[object Array]'
}

function isArrayish (arr) {
return /Array\]$/.test(Object.prototype.toString.call(arr))
}
Expand Down

0 comments on commit 39d7bbb

Please sign in to comment.