jscript: Convert unlink_props to a helper that unlinks the entire object.
It will be useful for other cases, and we don't need the gc_ctx for
unlinking. Also set the PROP_PROTREFs to PROP_DELETED since we're unliking
the prototype.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Showing
Please
register
or
sign in
to comment