News for hackers. Stuff that matters.
Re:ES2022 feature: class static initialization blocks by riho on Wednesday September 01, 2021 @08:25AM (#28378937)
Meanwhile, we still don't have operator overloading. Even Lua has it.
Re:ES2022 feature: class static initialization blocks by nikeee on Wednesday September 01, 2021 @09:14AM (#28379429)
There is a proposal: https://github.com/tc39/proposal-operator-overloading

There are still a couple issues that have to be solved. m2c: I hope that won't get to stage 3, though I like operator overloading in general, I think it's something that will complicate JS even more.