Skip to content

Conversation

@criacuervos
Copy link

No description provided.

Copy link

@CheezItMan CheezItMan left a comment

Choose a reason for hiding this comment

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

Nice work, you hit all the learning goals here!

end

if array1.length == array2.length
array1.each_with_index do |element, index|

Choose a reason for hiding this comment

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

Since you're not using element you could just use a .times loop instead.

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