ChatGPT - Power of JS Reduce