I think you are conflating JavaScript of today with historical JavaScript. Those are esnext features. Typescript had arrow functions and classes 4 years before browsers. It had async await 2 years before any browsers. Etc etc etc.
I have been writing typescript for over a decade. The two languages were not in lockstep until the last few years.
View all comments
Show parent comment
2
u/start_select Sep 15 '26
I think you are conflating JavaScript of today with historical JavaScript. Those are esnext features. Typescript had arrow functions and classes 4 years before browsers. It had async await 2 years before any browsers. Etc etc etc.
I have been writing typescript for over a decade. The two languages were not in lockstep until the last few years.