1 var baseCreate = require('./_baseCreate'),
2 baseLodash = require('./_baseLodash');
4 /** Used as references for the maximum length and index of an array. */
5 var MAX_ARRAY_LENGTH = 4294967295;
8 * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.
11 * @param {*} value The value to wrap.
13 function LazyWrapper(value) {
14 this.__wrapped__ = value;
15 this.__actions__ = [];
17 this.__filtered__ = false;
18 this.__iteratees__ = [];
19 this.__takeCount__ = MAX_ARRAY_LENGTH;
23 LazyWrapper.prototype = baseCreate(baseLodash.prototype);
24 LazyWrapper.prototype.constructor = LazyWrapper;
26 module.exports = LazyWrapper;