Task

Pass a function     as an argument     to another function.



Related task

   First-class functions


function call_me(func, arg) {
    return func(arg);
}
 
let answer = call_me(function(x) { return 6 * x; }, 7);
print(answer);