-export const ArrayFun =
-{
- remove: function(array, rfun, all)
- {
- const index = array.findIndex(rfun);
- if (index >= 0)
- {
- array.splice(index, 1);
- if (!!all)
- {
+export const ArrayFun = {
+
+ remove: function(arr, rfun, all) {
+ const index = arr.findIndex(rfun);
+ if (index >= 0) {
+ arr.splice(index, 1);
+ if (!!all) {