I too think that things like x &&= 10 could appear more convoluted for other programmers who look at the code. I would just not use the feature to keep things straightforward.
If you don't understand the purpose of that and try use, it's really complicated, but after some days you will see that feats will optimize your coding time
JavaScript is and will be backwards compatible. If you don't have a use for the new features, the old ways will still be present. The new tools are available if you find a use case.
why are they making it more complicated?
I too think that things like
x &&= 10
could appear more convoluted for other programmers who look at the code. I would just not use the feature to keep things straightforward.If you don't understand the purpose of that and try use, it's really complicated, but after some days you will see that feats will optimize your coding time
A solution where there was no problem. Just because you can add a feature doesn't mean you should!
JavaScript is and will be backwards compatible. If you don't have a use for the new features, the old ways will still be present. The new tools are available if you find a use case.
In a not-so-near future, it could be used and useful for minifiy process improvements !
Hey Ouzkagan,
Some features like Numeric Separators are most awaiting features in JS, these make code more readable.
Kkkkkkkkkk I thought the same. But that X ??= 10 is really cool.