Introduction to TypeScript Functions (Part 1)

added by JavaScript Kicks
12/31/2019 9:00:48 AM

232 Views

Functions are small blocks of code that takes in some inputs and may return some output or have side effects. A side effect is when a function modifies some variable outside the function. We need functions to organize code into small blocks that are reusable.


0 comments