mirror of https://github.com/svaarala/duktape.git
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.
16 lines
328 B
16 lines
328 B
=proto
|
|
void duk_pop_n(duk_context *ctx, unsigned int count);
|
|
|
|
=stack
|
|
[ ... val1! ...! valN! ] -> [ ... ]
|
|
|
|
=summary
|
|
<p>Pop <tt>count</tt> elements off the stack. If the stack has fewer than
|
|
<tt>count</tt> elements, throws an error. If <tt>count</tt> is zero, the
|
|
call is a no-op.</p>
|
|
|
|
=example
|
|
duk_pop_n(ctx, 10);
|
|
|
|
=tags
|
|
stack
|
|
|