Remove trailing space in slice

This commit is contained in:
Michał Lipiński
2018-05-15 10:47:35 +02:00
parent 50860fded2
commit 1859802d05

View File

@@ -8,8 +8,8 @@
* @since 3.0.0
* @category Array
* @param {Array} array The array to slice.
* @param {number} [start=0] The start position. A negative index will be treated as an offset from the end.
* @param {number} [end=array.length] The end position. A negative index will be treated as an offset from the end.
* @param {number} [start=0] The start position. A negative index will be treated as an offset from the end.
* @param {number} [end=array.length] The end position. A negative index will be treated as an offset from the end.
* @returns {Array} Returns the slice of `array`.
*/
function slice(array, start, end) {