Contact: aviboots(AT)netvision.net.il
39,851 questions
51,772 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" */