Contact: aviboots(AT)netvision.net.il
41,157 questions
53,648 answers
573 users
function runnableProcedure(f: any): void { f(); // Execute the passed function } // Define a function to pass function say() { console.log("xyz"); } // Pass the function as a parameter runnableProcedure(say); /* run: "xyz" */