name: duk_pop_2 proto: | void duk_pop_2(duk_context *ctx); stack: | [ ... val1! val2! ] -> [ ... ] summary: |
Pop two elements off the stack. If the stack has fewer than two elements, throws an error.
example: | duk_pop_2(ctx); tags: - stack introduced: 1.0.0