I was watching thenewboston "Beginner JavaScript Tutorial - 28 - Arrays" and saw that he created an array by using the method new Array();
My first thought was that Array() is like a constructor that can take a huge if not infinite amount of arguments.
My question is, how does one make such a constructor that can take an infinite amount of arguments?
Do you make thousands of constructors? (That would be a job nobody wants to do.)

Here is an example:

```
var names = new Array('John', 'Mary', 'Thomas', 'Sara');

```

Here i created an array with just 4 arguments but if i am correct, i am able to store thousands of names in this array.
Again, how do you make such a constructor that can take lots of arguments?

Thank you in advance.