Skip to content

Commit

Permalink
Update what-is-typescript.md (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnxysUaen committed Jun 21, 2021
1 parent e538149 commit e3fceea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion introduction/what-is-typescript.md
Expand Up @@ -20,7 +20,7 @@
- 基于原型的面向对象编程,使得原型上的属性或方法可以在运行时被修改。
- 函数是 JavaScript 中的一等公民<sup>[[2]](#link-2)</sup>,可以赋值给变量,也可以当作参数或返回值。

这种灵活性就像一把双刃剑,一方面使得 JavaScript 蓬勃发展,无所不能,从 2013 年开始就一直蝉联最普遍使用的编程语言排行榜冠军<sup>[[3]](#link-3)</sup>;另一方面也使得它的代码质量参次不起,维护成本高,运行时错误多。
这种灵活性就像一把双刃剑,一方面使得 JavaScript 蓬勃发展,无所不能,从 2013 年开始就一直蝉联最普遍使用的编程语言排行榜冠军<sup>[[3]](#link-3)</sup>;另一方面也使得它的代码质量参差不齐,维护成本高,运行时错误多。

而 TypeScript 的类型系统,在很大程度上弥补了 JavaScript 的缺点。

Expand Down

0 comments on commit e3fceea

Please sign in to comment.