The spec says:
When
Arrayis called as a function rather than as a constructor, it creates and initialises a new Array object. Thus the function callArray(…)is equivalent to the object creation expressionnew Array(…)with the same arguments.
The spec says:
When
Arrayis called as a function rather than as a constructor, it creates and initialises a new Array object. Thus the function callArray(…)is equivalent to the object creation expressionnew Array(…)with the same arguments.