What would be the standard way to define a function which has an optional argument, which itself is a function?
For example I want anotherFunction() to return true, if it's not defined.
function myFunction ( anotherFunction ) {
/*
some code here
*/
return anotherFunction ();
}