AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Javascript switch11/1/2023 ![]() ![]() ![]() It’s worth taking a look.įantasy Land - One of the more popular functional libraries for JavaScript. Lodash/fp - lodash/fp is the functional version of lodash. The functionality if similar to this switchcase and a great alternative! Ramda- Ramda is a functional library similar to lodash and underscore. Here’s our final, pure, immutable and functional switchcase code.įor those interested in digging deeper into the functional world, there are some great libraries out there I would like to recommend. There are obvious and better ways to generate this sentence, I’m just trying to demo what the switchcase can do, so cut me some slack! The Code
0 Comments
Read More
Leave a Reply. |