We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
begin
1 parent b48474c commit 1f77d5fCopy full SHA for 1f77d5f
src/ng/filter/limitTo.js
@@ -17,7 +17,7 @@
17
* If the number is negative, `limit` number of items from the end of the source array/string
18
* are copied. The `limit` will be trimmed if it exceeds `array.length`. If `limit` is undefined,
19
* the input will be returned unchanged.
20
- * @param {string|number} begin Index at which to begin limitation. As a negative index, `begin`
+ * @param {(string|number)=} begin Index at which to begin limitation. As a negative index, `begin`
21
* indicates an offset from the end of `input`. Defaults to `0`.
22
* @returns {Array|string} A new sub-array or substring of length `limit` or less if input array
23
* had less than `limit` elements.
0 commit comments