diff --git a/lib/index.js b/lib/index.js index fe26d59..908faf8 100755 --- a/lib/index.js +++ b/lib/index.js @@ -2562,7 +2562,7 @@ Stream.prototype.split = function () { exposeMethod('split'); /** - * Creates a new Stream with the values from the source in the range of `start` to `end`. + * Creates a new Stream with the values from the source in the range of `start` (inclusive) to `end` (exclusive). * `start` and `end` must be of type `Number`, if `start` is not a `Number` it will default to `0` * and, likewise, `end` will default to `Infinity`: this could result in the whole stream being be * returned. @@ -2570,8 +2570,8 @@ exposeMethod('split'); * @id slice * @section Transforms * @name Stream.slice(start, end) - * @param {Number} start - integer representing index to start reading from source - * @param {Number} stop - integer representing index to stop reading from source + * @param {Number} start - integer representing index to start reading from source (inclusive) + * @param {Number} stop - integer representing index to stop reading from source (exclusive) * @api public * * _([1, 2, 3, 4]).slice(1, 3) // => 2, 3