4 ms·
>2.1 has async/await compiled down to ES3/ES5, which I will be very happy to see The complete lack of visibility for such things is what prevented me from adop
by theprotocol 10y ago
>2.1 has async/await compiled down to ES3/ES5, which I will be very happy to see
The complete lack of visibility for such things is what prevented me from adopting TypeScript. I couldn't get a clear answer which platforms supported async/await (there was a huge conversation on github which heavily implied, but never outright stated, that there was an ES5 target; yet the docs said it was ES6 only). A lot of the features have unspecified targets.
I wish their documentation were better.
- mercurial 10y agoI agree with the spotty documentation. That said, it is nonetheless such a titanic improvement over standard JS, both in terms of safety and of readability (documentation via type signatures), that I firmly intend to not write "standard Javascript" in the future if I have any say at all in the matter.