Tagged: functions

AS 3: Functions as Values 0

AS 3: Functions as Values

A function can be assigned to a variable, passed to a function, or returned from a function, just like any other values. For example, the following code defines a function, a() and then assigns...