Javascript – Passing multiple params and multiple functions into a function
I have a function await mainFunction(function1, function2, function3) I also want to pass multiple functions into the mainFunction const mainFunction = async (function1, function2, function3) => async ({ param1, param2, param3}) => { const params = { param1, param3, param3};…