UNPKG

functional-switchcase

Version:

Functional switchcase taken from a Hackernoon article by Joel Thoms

4 lines (2 loc) 178 B
# functional-switchcase All credit goes to Joel Thoms for this article: https://hackernoon.com/rethinking-javascript-eliminate-the-switch-statement-for-better-code-5c81c044716d