Skip to content

Conversation

@kborucinski
Copy link
Contributor

Add insert method which inserts item to the array by specific index.

},
{
"language": "javascript",
"content": "insert(3, 4)([1, 2, 3]); // ⇒ [1, 2, 3, 4]"
Copy link
Member

Choose a reason for hiding this comment

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

Please keep both of these only as test cases.

@przemyslawzalewski przemyslawzalewski merged commit 2d21f7f into master Jan 9, 2020
@przemyslawzalewski przemyslawzalewski deleted the add_insert_method branch January 9, 2020 12:55
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.

5 participants