apply function
Applies a function f to all elements of an array. Function f gets 3 arguments passed:
- element from the array
- index of the element
- reference to the array
Implementation
@JS()
external apply(List<dynamic> array, Function f, [dynamic context]);