name: duk_to_undefined proto: | void duk_to_undefined(duk_context *ctx, duk_idx_t index); stack: | [ ... val! ... ] -> [ ... undefined! ... ] summary: |
Replace the value at index
with undefined
, regardless
of the previous value. Throws an error if index is invalid.
duk_push_undefined()
followed by duk_replace()
to target index.