diff --git a/website/api/duk_compact.txt b/website/api/duk_compact.txt index f89f86a0..37ee4c83 100644 --- a/website/api/duk_compact.txt +++ b/website/api/duk_compact.txt @@ -34,7 +34,7 @@ compacted.

=example -duk_push_new_object(ctx); /* [ ... obj ] */ +duk_push_object(ctx); /* [ ... obj ] */ duk_push_int(ctx, 42); /* [ ... obj 42 ] */ duk_put_prop_string(ctx, -2, "meaningOfLife"); /* [ ... obj ] */ duk_compact(ctx, -1); /* [ ... obj ] */