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 isArrayLike from './isArrayLike.js'
import isString from './isString.js'
@@ -38,7 +37,7 @@ function size(collection) {
if (tag == mapTag || tag == setTag) {
return collection.size
}
return baseKeys(collection).length
return Object.keys(collection).length
}
export default size