Ruby block test

C code posted
created at 25 Apr 02:54, updated at 18 May 09:27

Edit | Back
1
2
3
(1..10).to_a.inject do |memo, n|
  memo += n * 2
end
54 Bytes in 2 ms with coderay