I was reading the developer docs here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce
I just wonder why there is an empty array being passed where you would normally indicate the initialvalue?
I was reading the developer docs here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce
I just wonder why there is an empty array being passed where you would normally indicate the initialvalue?