4 ms·
> the static typing was extremely limited: you could only type "Function", not the actual arg and return value types You can type args and returns. One of the
by chrisan 9y ago
> the static typing was extremely limited: you could only type "Function", not the actual arg and return value types
You can type args and returns. One of the biggest things I relied on when I coded AS3
- deleted 9y ago[deleted]
- boubiyeah 9y agoI meant for higher order functions, callbacks, etc. e.g, see the signature of Array.map: map(callback:Function, thisObject:* = null):Array