What's wrong in the following callback function example? I am passing some parameters and in the end, I am passing a function that must automatically run when the other tasks are done. So, why am I getting an error?
Expectation:
I expected 2 console.logs. First giving output of a, b, a+b and second console printing hello.
Example:
function alpha(a, b, ()=>{
  console.log("hello");
}){
  console.log(a, b, a+b);
}
alpha(5, 10); 
     
    