=proto void duk_to_undefined(duk_context *ctx, int 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.