3 lines
96 B
Plaintext
3 lines
96 B
Plaintext
IO.print([1].reduce {|a, b| 42 }) // expect: 1
|
|
IO.print([].reduce(1) {|a, b| 42 }) // expect: 1
|