Aijan@programming.dev to Programming@programming.dev · 2 years agoAvoiding if-else Hell: The Functional Stylelackofimagination.orgexternal-linkmessage-square33linkfedilinkarrow-up195arrow-down17
arrow-up188arrow-down1external-linkAvoiding if-else Hell: The Functional Stylelackofimagination.orgAijan@programming.dev to Programming@programming.dev · 2 years agomessage-square33linkfedilink
minus-squareLupec@lemm.eelinkfedilinkarrow-up4·2 years ago I am not sure if JS has something similar, but this often helps by a lot It does, the some/every array methods would achieve the same results. I use them quite often myself!
It does, the some/every array methods would achieve the same results. I use them quite often myself!