Bump to v3.7.0.

This commit is contained in:
jdalton
2015-04-15 21:06:16 -07:00
parent d58549ce0b
commit 863bb301bb
120 changed files with 1653 additions and 812 deletions

View File

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