What are the differences between javascript and typescript

Posted by Jennifer | Updated on

Below are the list of differences between javascript and typescript:

featuretypescriptjavascript
Language paradigmObject oriented programming languageScripting language
Typing supportSupports static typingIt has dynamic typing
ModulesSupportedNot supported
InterfaceIt has interfaces conceptDoesn’t support interfaces
Optional parametersFunctions support optional parametersNo 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.

Related Questions & Answers