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

fix: remove needless spread for array #972

Merged

Conversation

Connormiha
Copy link
Contributor

Object.keys уже возвращает array и в данном случае лишний spread только создает лишнюю промежуточную коллекцию.

@8coon 8coon changed the base branch from master to next October 15, 2024 16:30
@8coon 8coon changed the base branch from next to fix/remove-needless-spread October 15, 2024 16:31
@8coon 8coon merged commit 58cb3e1 into VKCOM:fix/remove-needless-spread Oct 15, 2024
@8coon 8coon mentioned this pull request Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants