Skip to content

fix: optimize create new array#502

Merged
SevereCloud merged 1 commit intoVKCOM:masterfrom
Connormiha:optimize-create-array
Jul 14, 2024
Merged

fix: optimize create new array#502
SevereCloud merged 1 commit intoVKCOM:masterfrom
Connormiha:optimize-create-array

Conversation

@Connormiha
Copy link
Copy Markdown
Contributor

При помощи Array.from со вторым опциональным аргументом, можно избежать цепоцек из fill + map

@SevereCloud SevereCloud added this to the v1.2.2 milestone Jul 14, 2024
@SevereCloud SevereCloud merged commit 86ecfaf into VKCOM:master Jul 14, 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