fork(3) download
  1. p (1..10).each_slice(2).flat_map(&:reverse)
Success #stdin #stdout 0s 5884KB
stdin
Standard input is empty
stdout
[2, 1, 4, 3, 6, 5, 8, 7, 10, 9]