(func (export "count10") (result i32) (local $t i32) (set_local $t (i32.const 0)) (block (loop i32.const 10 get_local $t i32.eq br_if 1 get_local $t i32.const 1 i32.add set_local $t br 0 )) get_local $t )
Last updated 5 years ago
Was this helpful?