mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 14:37:49 +00:00
Remove support for node v0.10 in arrayLikeKeys (#4079)
This commit is contained in:
committed by
John-David Dalton
parent
3b96b91991
commit
4cae8fb22f
@@ -31,8 +31,6 @@ function arrayLikeKeys(value, inherited) {
|
||||
!(skipIndexes && (
|
||||
// Safari 9 has enumerable `arguments.length` in strict mode.
|
||||
(key == 'length' ||
|
||||
// Node.js 0.10 has enumerable non-index properties on buffers.
|
||||
(isBuff && (key == 'offset' || key == 'parent')) ||
|
||||
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
||||
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || // Skip index properties.
|
||||
isIndex(key, length))
|
||||
|
||||
Reference in New Issue
Block a user