mrubyedge 1.1.12

mruby/edge is yet another mruby that is specialized for running on WASM
Documentation
1
2
3
4
5
6
7
8
9
def incr(times, state=[0])
  return if times == 0
  p "state: #{state.inspect} #{state.object_id}"
  state[0] += 1
  incr(times - 1, state)
  state
end

p incr(3)