As a matter of best practices in terms of code readability, Which of the following naming convention should be used while naming arguments of the callback in Array.reduce?
const studentAges= [15,16,14,15,14,20]
Generic
const sum = studentAges.reduce((accumulator,currentValue)=> accumulator +=currentValue,0);
Specific
const sum = studentAges.reduce((sum,age)=> sum+=age,0);