並前往https://thewebdev.info/2021/08/22/how-to-fix-the-typeerror-reduce-of-empty-array-with-no-initial-value-error-in-our-javascript-app/