objectApply function
Applies a function f to all properties of an object. Function f gets 3 arguments passed:
- element from the object
- key of the element
- reference to the object
Implementation
@JS()
external objectApply(dynamic object, Function f);
Applies a function f to all properties of an object. Function f gets 3 arguments passed:
@JS()
external objectApply(dynamic object, Function f);