Date picker consisting of three component pickers
So if I understand correctly, you want to create an instance of DatePicker which by default has 3 instances of ComponentPicker in an array called pickers? Then the following should work:

class DatePicker extends ComponentPicker{
  constructor(length) {
    this.pickers = data.map(component =&gt; new ComponentPicker(target, component));
  }