News for hackers. Stuff that matters.
Re:Partial Application and Lambda Parameter Syntax for JavaS... by mwilliaams on Wednesday January 31, 2018 @02:16PM (#16276654)
You could use default parameters in this case.

const add = (a, b=0) => {return a+b}

There are no comments on this comment yet.