Symbol.species - JavaScript | MDN
The well-known symbol Symbol.species specifies a function-valued property that the constructor function uses to create derived objects. The species accessor property allows subclasses to override the default constructor for objects. You might want to return objects in your derived array class MyArray.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/species