Skip to content

Improve naming#1

Open
tshemsedinov wants to merge 1 commit into
masterfrom
refactor
Open

Improve naming#1
tshemsedinov wants to merge 1 commit into
masterfrom
refactor

Conversation

@tshemsedinov

Copy link
Copy Markdown
Member

No description provided.

@tshemsedinov tshemsedinov added the enhancement New feature or request label Oct 21, 2019
@tshemsedinov tshemsedinov self-assigned this Oct 21, 2019
@HowProgrammingWorks HowProgrammingWorks locked and limited conversation to collaborators Oct 22, 2019

@tshemsedinov tshemsedinov left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Try to implement this function in a such way or something like this:
const replicate = (count, elem) => Array.from({ length: count }, () => elem);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant