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

Created a function rotation to made the rotation of an array #53 and #52 #82

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

nathzz30
Copy link
Contributor

@nathzz30 nathzz30 commented Oct 1, 2020

This PR is created to present a function that made the rotation of the elements inside an array. To accomplish this was necessary create a function that admit and array, a number that counts the elements to rotate, and the third one is the direction of the rotation. Also was used JsDocs to document the function and the parameters that are necessary.

The function is called rotation, the parameters are called like this rotation(array, number, direction). Direction parameter is a string that can be right or left.

This PR resolve this two issues #52 and #53.

@nathzz30 nathzz30 changed the title Created a function rotation to made the rotation of an array Created a function rotation to made the rotation of an array #53 and #52 Oct 1, 2020
@akshitagupta15june akshitagupta15june merged commit 4dff73a into akshitagit:master Oct 15, 2020
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