=proto void duk_pop(duk_context *ctx); =stack [ ... val! ] -> [ ... ] =summary

Pop one element off the stack. If the stack is empty, throws an error.

To pop multiple elements, use duk_pop_n() or the shortcuts for common cases: duk_pop_2() and duk_pop_3().

=example duk_pop(ctx); =tags stack =seealso duk_pop_2 duk_pop_3 duk_pop_n