mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Remove support for PhantomJS in arrayLikeKeys (#4081)
This commit is contained in:
committed by
John-David Dalton
parent
4cae8fb22f
commit
78854835aa
@@ -31,8 +31,7 @@ function arrayLikeKeys(value, inherited) {
|
||||
!(skipIndexes && (
|
||||
// Safari 9 has enumerable `arguments.length` in strict mode.
|
||||
(key == 'length' ||
|
||||
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
||||
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || // Skip index properties.
|
||||
// Skip index properties.
|
||||
isIndex(key, length))
|
||||
))) {
|
||||
result.push(key)
|
||||
|
||||
Reference in New Issue
Block a user