News for hackers. Stuff that matters.
Re:Using the switch(true) pattern in JavaScript by golergka on Monday April 12, 2021 @08:53PM (#26787005)
I've never considered writing a proposal for a language feature before, but after 2 minutes of googling, this actually looks completely doable:

https://github.com/tc39/ecma262/blob/master/CONTRIBUTING.md

So, impostor syndrome aside, why not? Wanna team up on that?

Re:Using the switch(true) pattern in JavaScript by earthboundkid on Tuesday April 13, 2021 @12:04PM (#26794303)
whoosh.gif
Re:Using the switch(true) pattern in JavaScript by golergka on Tuesday April 13, 2021 @02:15PM (#26796648)
Okay, it was 2am here and I must have misread your comment and lost the 'variables' part.