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.
 
 
 
 
 
 

14 lines
228 B

/*===
result: foo123true
===*/
void test(duk_context *ctx) {
duk_push_string(ctx, "foo");
duk_push_int(ctx, 123);
duk_push_true(ctx);
duk_concat(ctx, 3);
printf("result: %s\n", duk_get_string(ctx, -1));
duk_pop(ctx);
}