Ruby Next Statement
I was doing the prime factor exercise on Project Euler and came across the next statement. for i in 0..5 if i < 2 then next end puts “Value of local variable is #{i}” end the next command or statement jumps or skips to the…
* You will receive the latest news and updates on your favorite celebrities!
I was doing the prime factor exercise on Project Euler and came across the next statement. for i in 0..5 if i < 2 then next end puts “Value of local variable is #{i}” end the next command or statement jumps or skips to the…