Introduction
Functions are the fundamental building block of any application in JavaScript. They’re how you build up layers of abstraction, mimicking classes, information hiding, and modules. In TypeScript, while there are classes, namespaces, and modules, functions still play the key role in describing how to do things. TypeScript also adds some new capabilities to the standard JavaScript functions to make them easier to work with.
介绍
函数是javascript任何应用程序的基本构建块,它们是您构建抽象层,模仿类,信息隐藏,和模块的方式。Typescript中虽然有类,命名空间,和模块,函数仍然在描述操作方式中扮演重要角色。Typescript也给标准JavaScrip函数增加了新特性,让它们更容易去使用。
发表回复
要发表评论,您必须先登录。