...
Excerpt |
---|
Returns an array starting with index 'start' and ending at index 'end'. |
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
arr | array | Yes | The arrayArray. |
start | number | Yes | The start Start index. |
end | number | Yes | The stop Stop index. |
Return Type
array
Example
Code Block |
---|
string [] firstFollowers = subarray(watchers, 1, 3); //assume the length of watchers >= 3 |
...