3 ms·
I would expect more things (especially on typing and classes) to be ported to JS. That's what I meant. At least, private/static fields, optional chaining & nul
by soygul 7y ago
I would expect more things (especially on typing and classes) to be ported to JS. That's what I meant.
At least, private/static fields, optional chaining & null coalescing (as you pointed out), default parameters are now in JS (almost). I'll add them to the article to make it more clear.
- diggan 7y agoPersonally, I'd prefer it if both typing and classes was not in JS, as the problems they solve can also be solved in other ways. Now I already lost the battle around classes but if types somehow becomes mandatory in JS proper, I'd probably leave JS behind me. Now, mandatory typing will never happen in JS and I already kind of left JS behind for ClojureScript, so guess I'm in luck there.