name: duk_require_undefined proto: | void duk_require_undefined(duk_context *ctx, duk_idx_t index); stack: | [ ... val! ... ] summary: |
Throw an error if the value at index
is not undefined
or if the index is invalid.
duk_get_undefined()
) because such a
function would be a no-op.