fn dict_return(
    cx: JSContext,
    result: MutableHandleObject<'_>,
    done: bool,
    value: HandleValue<'_>
) -> Result<(), Error>