name: duk_push_bare_object proto: | duk_idx_t duk_push_bare_object(duk_context *ctx); stack: | [ ... ] -> [ ... obj! ] summary: |
Similar to duk_push_object()
but the pushed object doesn't inherit from any other object, i.e. its internal
prototype is null
. This call is equivalent to
Object.create(null)
. Returns non-negative index (relative to
stack bottom) of the pushed object.