4 ms·You could use default parameters in this case. const add = (a, b=0) => {return a+b}by mwilliaams 9y agoYou could use default parameters in this case. const add = (a, b=0) => {return a+b}