News for hackers. Stuff that matters.
Re:Using the switch(true) pattern in JavaScript by deergomoo on Monday April 12, 2021 @06:03PM (#26785741)
> Along with switch being as expression

Even PHP has this now, albeit with a different keyword (match) due to existing switch semantics being pretty bad

There are no comments on this comment yet.