TypeScript Functions

A function is a set of statements execute to achieve a specific task. we will discuss on: 1. Basic function: syntax: code example: output: 9 2. Function with optional param:   In the below example, email is the optional param as it it marked with ‘?’.     An optional param does not need argument to pass. in …

TypeScript Functions Read More »