What is the difference between a literal value and a constructor?
1)what is the difference between a literal value and a constructor?
example:
var someArray:Array = new Array(1,2,3); // Array constructor
var someArray:Array = [1, 2, 3]; // literal value
2)what is the "new" operator, and it serves?
3)what is a constructor?
I'm reading AS3 Fundamentals
, and so far I have failed to understand that.
Learning ActionScript 3 | Adobe Developer Connection
Thnks ALL!!!
