Learn Advanced Array Methods by Building a Statistics Calculator - Step 11 - Does it matter the order of acc and el in the function?

So I originally had this:

const getMean = (array) => {
  const sum = array.reduce((acc, el) => el + acc);

And it told me it was incorrect. I changed it to acc + el and an explicit return and it was accepted. Does it matter for the reduce method which order they are in, or was this just an overlooked correct possibility?

Hello, I’ve aways seem to think the order was el, acc for the params have you tried this? Here is a guild that might help: A Guide To The Reduce Method In Javascript​ (freecodecamp.org)