Ensure _.isArray assignment is handled correctly for builds.

Former-commit-id: a844909ada5fbb394cbb91d06e6c76ccc6c40ff7
This commit is contained in:
John-David Dalton
2013-04-28 15:53:36 -07:00
parent d156dacbb9
commit 86e2374b48
3 changed files with 17 additions and 19 deletions

4
dist/lodash.js vendored
View File

@@ -646,9 +646,7 @@
* _.isArray([1, 2, 3]);
* // => true
*/
var isArray = nativeIsArray || function(value) {
return value ? (typeof value == 'object' && toString.call(value) == arrayClass) : false;
};
var isArray = nativeIsArray;
/**
* A fallback implementation of `Object.keys` which produces an array of the