Local setThe local.set instruction sets the values of a local variable.Try itSyntaxwasm;; load the number 2 onto the stack i32.const 2 ;; store the number 2 in the variable $val local.set $val Instruction Binary opcode local.set 0x21