Goodbye if-else, Hello Pattern Matching in JavaScript (PROPOSAL)
This article is a proposal suggesting the use of “pattern matching” in JavaScript as an alternative to traditional “if-else” and…