filterObject function
Filters properties of the object using a test function. Function test gets 4 arguments passed:
- element from the object
- key of the element
- reference to the source object
- reference to the destination object
Implementation
@JS()
external filterObject(Object object, Function test);