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.
 
 
 
 
 
 

15 lines
259 B

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