Below are the list of differences between javascript and typescript:
feature | typescript | javascript |
---|---|---|
Language paradigm | Object oriented programming language | Scripting language |
Typing support | Supports static typing | It has 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 |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.