drop
Drops the top most item off the stack and does nothing with it. You use this to remove any stack items you may have pushed onto the stack but no longer need.

Syntax

drop

Stack In

NONE

Stack Out

* The top most item is removed off the stack.

Examples

;; The stack is empty

;; Push 1 onto stack
i32.const 1

;; The stack contains an i32 of value 1

;; Remove it from off the stack
drop

;; The stack is empty again