Task

Pass a function     as an argument     to another function.



Related task

   First-class functions


import extensions;
 
public program()
{
    var first := (f => f());
    var second := {"second"};
    console.printLine(first(second))
}