X.each_with_index do |item, index|
puts "current_index: #{index}"
end
x.each_with_index { |v, i| puts "current index...#{i}" }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With