2 ms·
It's the first step into pattern matching, so I'm not surprised that it isn't as complete as other languages' implementations. But even without further language
by bastawhiz 8y ago
It's the first step into pattern matching, so I'm not surprised that it isn't as complete as other languages' implementations. But even without further language modification, I'd bet there are some tricksy things you could do to replicate that behavior. As the saying goes, "JavaScript finds a way"