3 ms·Thanks for sharing this. I didn’t know about ‘reduce()’. Only thing I’d add is to use TypeScript.by pteredactyl 7y agoThanks for sharing this. I didn’t know about ‘reduce()’. Only thing I’d add is to use TypeScript.