--

That’s a great point John Au-Yeung !!!

When I was writing the code for this article I wish I had some more actual test cases because .reduce() was really confusing me 😂

--

--

Dr. Derek Austin 🥳
Dr. Derek Austin 🥳

Written by Dr. Derek Austin 🥳

Hi, I'm Doctor Derek! I've been a professional web developer since 2005, and I love writing about programming with JavaScript, TypeScript, React, Next.js & Git.

Responses (1)