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,4 +1,5 @@
import arrayCopy from '../internal/arrayCopy';
import getLength from '../internal/getLength';
import isLength from '../internal/isLength';
import values from '../object/values';
@@ -18,7 +19,7 @@ import values from '../object/values';
* // => [2, 3]
*/
function toArray(value) {
var length = value ? value.length : 0;
var length = value ? getLength(value) : 0;
if (!isLength(length)) {
return values(value);
}