Monday, 2 April 2018

JavaScript vs. TypeScript


JavaScript
  • Browser understands JS
  • Problem in JS : Not strict

Typescript
  • Superset of JS
  • from Microsoft
  • provides Type safety over JS code using NameSpace
  • Strictly typed
  • Browser doesn't support TS
  • Typescript code is converted into JS using compiler

No comments:

Post a Comment

Note: only a member of this blog may post a comment.