Ultra small code using Functional Programming
Let me begin by saying that this read is not for the lightest of hearts. It contains a lot of Javascript nuances (like map, reduce), which if you don’t know in detail can leave you wondering. I try to explain briefly about them, but I’ll also provide links that will explain them in detail.