funciones invocan a funciones javascript

JavaScript
function invoca(a,b){
    return a()+ b();     
}
function uno(){
    return 1;    
}function dos(){
    return 2;    
}
console.log(invoca(uno,dos))function square(number) {
  return number * number;
}

Source

Also in JavaScript: