summaryrefslogtreecommitdiff
path: root/node_modules/lodash/_createFlow.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/lodash/_createFlow.js')
-rw-r--r--node_modules/lodash/_createFlow.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/node_modules/lodash/_createFlow.js b/node_modules/lodash/_createFlow.js
index c6b43f799..baaddbf5e 100644
--- a/node_modules/lodash/_createFlow.js
+++ b/node_modules/lodash/_createFlow.js
@@ -5,9 +5,6 @@ var LodashWrapper = require('./_LodashWrapper'),
isArray = require('./isArray'),
isLaziable = require('./_isLaziable');
-/** Used as the size to enable large array optimizations. */
-var LARGE_ARRAY_SIZE = 200;
-
/** Error message constants. */
var FUNC_ERROR_TEXT = 'Expected a function';
@@ -64,8 +61,7 @@ function createFlow(fromRight) {
var args = arguments,
value = args[0];
- if (wrapper && args.length == 1 &&
- isArray(value) && value.length >= LARGE_ARRAY_SIZE) {
+ if (wrapper && args.length == 1 && isArray(value)) {
return wrapper.plant(value).value();
}
var index = 0,