TypeScript support in modern browsers

前端 未结 4 772
[愿得一人]
[愿得一人] 2020-12-29 19:25

I\'ve just read some advertisement information related to TypeScript and besides that I have no experience with this superset of JavaScript. So I have some basic questions:<

4条回答
  •  粉色の甜心
    2020-12-29 19:46

    Trying to design a web browser that could natively support more than one language at a time is exactly what Google tried to do with Dart. There was a Dart engine planned for Chrome but this ended up being too big a task with very little benefit aside from "just not using java script".

    I suspect supporting Typescript natively would be an equally daunting task. Probably better to just improve upon ECMAScript and add in a few TS ideas where they make sense. I do love TS though.

提交回复
热议问题