Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Добавляет доку для метода массива toSpliced() #5098

Merged
merged 4 commits into from
Feb 13, 2024

Conversation

vitya-ne
Copy link
Contributor

@vitya-ne vitya-ne commented Jan 1, 2024

Описание

Добавляет доку для метода массива toSpliced()

Closes #4831

Чек-лист

  • Текст оформлен согласно руководству по стилю
  • Ссылки на внутренние материалы начинаются со слеша и заканчиваются слэшем либо якорем на заголовок (/css/color/, /tools/json/, /tools/gulp/#kak-ponyat)
  • Ссылки на картинки, видео и демки относительные (images/example.png, demos/example/, ../demos/example/)

@github-actions github-actions bot added js Контент по JavaScript дока Справочный материал labels Jan 1, 2024
vitya-ne and others added 3 commits January 2, 2024 16:15
Испытываю дежа-вю, кажется, что уже читала эту доку, но редачу))
Copy link

Превью контента из 11707ca опубликовано.

Copy link
Member

@HellSquirrel HellSquirrel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Забавно, что если передать в качестве первого аргумента какое-нибудь очень странное число, ничего не происходит, за исключение копирования массива
versions.toSpliced(-Infinity, 2, 'ES2019', 'ES2020')

Copy link
Member

@HellSquirrel HellSquirrel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Отлично, спасибо :)

@HellSquirrel HellSquirrel merged commit 7300b1e into doka-guide:main Feb 13, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
js Контент по JavaScript дока Справочный материал
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Методы массива: toSpliced
3 participants