Skip to content

Commit 7885483

Browse files
blikblumjdalton
authored andcommitted
Remove support for PhantomJS in arrayLikeKeys (lodash#4081)
1 parent 4cae8fb commit 7885483

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.internal/arrayLikeKeys.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ function arrayLikeKeys(value, inherited) {
3131
!(skipIndexes && (
3232
// Safari 9 has enumerable `arguments.length` in strict mode.
3333
(key == 'length' ||
34-
// PhantomJS 2 has enumerable non-index properties on typed arrays.
35-
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || // Skip index properties.
34+
// Skip index properties.
3635
isIndex(key, length))
3736
))) {
3837
result.push(key)

0 commit comments

Comments
 (0)