Web / Typescript interview questions
Difference between Typescript and Javascript.
| Typescript. | Javascript. |
| TypesScript is known as Object oriented programming language. | JavaScript is popular as a scripting language. |
| Typescript supports Classes and interface. | JavaScript creates reusable components using functions and prototype based inheritance. |
| Optional static typing available. | Static typing not available. |
| Typescript allow optional parameters. | Javascript does not have that feature. |
| Typescript generate compilation errors. | JavaScript reports error at runtime as it is an interpreted language. |
| TypeScript is nothing but JavaScript with ES6 features. | Javascript does not support ES6. |
More Related questions...