We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
function positiveSum(arr) { return arr.reduce((a,b)=> a + (b > 0 ? b : 0),0); }