What is difference between javascript and typescript?



What is difference between javascript and typescript?..

Answer / Bipin Bihari Chauhan

JavaScript is a high-level, interpreted programming language used for web development. TypeScript is a statically typed superset of JavaScript that compiles to plain JavaScript. Differences include TypeScript's support for classes, interfaces, and modules; optional type annotations; and stricter error handling.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

Is angularjs difficult to learn?

1 Answers  


How to update to angular 5?

1 Answers  


Which of the Angular life cycle component execution happens when a data-bound input value updates?

1 Answers  


Why we need ngmodel in angular 4?

1 Answers  


When did you use currency filter in angularjs?

1 Answers  


What is ng-content directive in angular?

1 Answers  


How can you use “$rootscope” in angularjs?

1 Answers  


What does ng bind do?

1 Answers  


What is a controller's job?

1 Answers  


What is the difference between structural and attribute directives in angular?

1 Answers  


What is an AsyncPipe in Angular?

1 Answers  


What is RouterOutlet?

1 Answers  


Categories