Is () requested for invoking a Flex ActionScript constructor?
- by Steve Kuo
In Flex ActionScript, a new object can be instantiated via the parameterless constructor with or without (). Example:
var array:ArrayCollection = new ArrayCollection()
or
var array:ArrayCollection = new ArrayCollection
Is there are difference between these two? Is one preferred over the other?