I was wondering whether this is legal to do. Could I have something like:
function funct(a, foo(x)) { ... }
where a is an ar
a
I would rather suggest to create variable like below:
var deleteAction = function () { removeABC(); };
and pass it as an argument like below:
removeETC(deleteAction);
in removeETC method execute this like below:
function removeETC(delAction){ delAction(); }