Skip to content

Commit

Permalink
[ru] Added missing words to the translation of the documentation for …
Browse files Browse the repository at this point in the history
…slice() (#16894)
  • Loading branch information
roose committed Nov 16, 2023
1 parent 42d229a commit 7ae6424
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ arr.slice([begin[, end]])

Если индекс отрицательный, `end` указывает смещение от конца последовательности. Вызов `slice(2, -1)` извлечёт из последовательности элементы начиная с третьего элемента с начала и заканчивая вторым с конца.

Если `end` опущен, `slice()` извлекает все элементы до конца последовательности (`arr.length`).
Если `end >= array.length` или `end` опущен, `slice()` извлекает все элементы до конца последовательности (`arr.length`).

### Возвращаемое значение

Expand Down

0 comments on commit 7ae6424

Please sign in to comment.