You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
453 B

=proto
void duk_pop(duk_context *ctx);
=stack
[ ... val! ] -> [ ... ]
=summary
<p>Pop one element off the stack. If the stack is empty, throws an error.</p>
<p>To pop multiple elements, use
<tt><a href="#duk_pop_n">duk_pop_n()</a></tt> or the shortcuts for common cases:
<tt><a href="#duk_pop_2">duk_pop_2()</a></tt> and
<tt><a href="#duk_pop_3">duk_pop_3()</a></tt>.</p>
=example
duk_pop(ctx);
=tags
stack
=seealso
duk_pop_2
duk_pop_3
duk_pop_n