Definition

In this lesson, you will see a high level definition of a function in TypeScript.

Functions and TypeScript #

Functions are at the core of JavaScript. The language is function-scoped. TypeScript doesn’t make any changes in this regard and embraces the use of a class to delimit scope, which is also a feature of ECMAScript 2015.


In this chapter, you will:

  • Review how you can
...