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.
 
 
 
 
 
 

26 lines
459 B

name: duk_eval_noresult
proto: |
void duk_eval_noresult(duk_context *ctx);
stack: |
[ ... source! ] -> [ ... ]
summary: |
<p>Like
<code><a href="#duk_eval">duk_eval()</a></code>, but leaves no result on
the value stack.</p>
example: |
duk_push_string(ctx, "print('Hello world!');");
duk_eval_noresult(ctx);
tags:
- compile
seealso:
- duk_eval_string_noresult
- duk_eval_lstring_noresult
- duk_eval_file_noresult
introduced: 1.0.0