News for hackers. Stuff that matters.
Re:JavaScript Pattern Matching Proposal by k_ on Wednesday April 25, 2018 @11:27AM (#16922388)
Why not? In Haxe (a statically typed language which compiles to js, amongst other targets) pattern matching happens in a switch: https://haxe.org/manual/lf-pattern-matching-structure.html

There are no comments on this comment yet.