JavaScript question detail
What are the differences between javascript and typescript
Below are the list of differences between javascript and typescript,
| feature | typescript | javascript |
|---|---|---|
| Language paradigm | Object oriented programming language | Multi-paradigm language |
| Typing support | Supports static typing | Dynamic typing |
| Modules | Supported | Not supported |
| Interface | It has interfaces concept | Doesn't support interfaces |
| Optional parameters | Functions support optional parameters | No support of optional parameters for functions |