Bump to v3.7.0.

This commit is contained in:
jdalton
2015-04-15 20:56:31 -07:00
parent 801ffd8adf
commit 5eb8db31d7
121 changed files with 897 additions and 413 deletions

View File

@@ -1,3 +1,4 @@
import getLength from './getLength';
import isLength from './isLength';
import isObject from '../lang/isObject';
import values from '../object/values';
@@ -13,7 +14,7 @@ function toIterable(value) {
if (value == null) {
return [];
}
if (!isLength(value.length)) {
if (!isLength(getLength(value))) {
return values(value);
}
return isObject(value) ? value : Object(value);