You can type args and returns. One of the biggest things I relied on when I coded AS3
e.g, see the signature of Array.map:
map(callback:Function, thisObject:* = null):Array
You can type args and returns. One of the biggest things I relied on when I coded AS3