d = (object, property, defaultValue) => {
  if (typeof object[property] === 'undefined' && typeof defaultValue !== 'undefined') {
    object[property] = defaultValue;
  }
  return object[property];
}
Sets a constant default value for the property when it is undefined.
@template T
@template {keyof T} Property
@param {T} object An object.
@param {Property} property A property of the provided object.
@param {T[Property]} [defaultValue] The default value to set for the property.
@returns {T[Property]} The defaulted property value.