I am learning javascript, i was wondering if it was possible to have something like this use of lambda function
function operation (function f, num1, num2){
f.call(num1, num2);
}
operation((a,b)=>{return a+b}, 2,3);
I have Unexpected token function at line 1, for function f i imagine, is there a way to make this work somehow ?
function fbydf