njs_is_data_descriptor(njs_object_prop_t *prop)
{
    return njs_is_valid(&prop->value) ||
           prop->writable != NJS_ATTRIBUTE_UNSET ||
           prop->type == NJS_PROPERTY_HANDLER;
}
njs_is_data_descriptor(njs_object_prop_t *prop)
{
    return njs_is_valid(&prop->value) ||
           prop->writable != NJS_ATTRIBUTE_UNSET ||
           prop->type == NJS_PROPERTY_HANDLER;
}