function flattenOptions(options) {
  const o = {};
  // eslint-disable-next-line guard-for-in, no-restricted-syntax
  for (const key in options) {
    o[key] = options[key];
  }
  return o;
}
function flattenOptions(options) {
  const o = {};
  
  for (const key in options) {
    o[key] = options[key];
  }
  return o;
}
function flattenOptions ( options ) { const o = { } ; // eslint-disable-next-line guard-for-in, no-restricted-syntax for ( const key in options ) { o [ key ] = options [ key ] ; } return o ; }
`this.options` create-component mix-in creates prototype chain so that `options` given in constructor argument wins over the one defined in static `options` property 'Flatpickr' wants flat structure of object instead
this . options create - component mix - in creates prototype chain so that options given in constructor argument wins over the one defined in static options property Flatpickr wants flat structure of object instead