Remove baseKeys and baseKeysIn.

This commit is contained in:
John-David Dalton
2017-04-16 15:57:02 -05:00
parent aa5e1b2fe0
commit 58e484f389
7 changed files with 19 additions and 84 deletions

View File

@@ -1,4 +1,3 @@
import baseKeys from './.internal/baseKeys.js'
import getTag from './.internal/getTag.js'
import isArguments from './isArguments.js'
import isArrayLike from './isArrayLike.js'
@@ -54,7 +53,7 @@ function isEmpty(value) {
return !value.size
}
if (isPrototype(value)) {
return !baseKeys(value).length
return !Object.keys(value).length
}
for (const key in value) {
if (hasOwnProperty.call(value, key)) {