Sum the array elements
package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var ages:Array = [12, 4, 90]; var totalAge:Number = ages[0] + ages[1] + ages[2]; // Sum the array trace(totalAge); } } }