So, array is a way to hold multiple elements.
Although arrays are easy to work with, they can also be very confusing when trying to understand what they do. One of the most confusing things about arrays is that it is a dynamic type. This means that it can have many different constructors.
This is a very good point. If you have prototype objects, then the prototype of the object you create is the prototype of whatever object is being created. But if you create a prototype object with multiple properties, then the prototype of the object you create is the prototype of another object.
The idea is that this is not a bad thing. One of the things that many developers have a tendency to do is to create objects with many properties and then export them with a single export property. This is called “duplication.” Because you’ve created many objects with many properties, there’s more work to do in the code to make sure it’s all in one place.