Skip to content

Conversation

1guzzy
Copy link

@1guzzy 1guzzy commented May 10, 2019

No description provided.

@djlax805
Copy link

👍

end

it "adds an item to the front of an array" do
expect([1]._fill_in_method_here_("banana")).to eq ["banana", 1]
expect([1].insert(0, "banana")).to eq ["banana", 1]
Copy link
Member

Choose a reason for hiding this comment

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

There's another method that does the same thing without needing the 0.

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.

3 participants