RosettaCodeData/Task/Loops-Break/CoffeeScript/loops-break.coffee

5 lines
92 B
CoffeeScript
Raw Permalink Normal View History

2016-12-05 22:15:40 +01:00
loop
print a = Math.random() * 20 // 1
break if a == 10
print Math.random() * 20 // 1