why TS is popular?
When it comes to JavaScript, Many developers agree with it is one of essential languages in this field. However, as the application grows in scale, several drawbacks become apparent.
drawback of Js
In general, JavaScript is a dynamically typed language, meaning types are determined at runtime. JavaScript has a double edged sword : it cause developer mistakes and makes development tools harder to use.
type Error
It throws runtime error what if the unexpected type of data is delivered into function.low readability
It is hard to read code for other developers.. This is because
uncertainty type of variable or return type.short of auto complete
lack of assurance of object structure
it does not have guarantee for the existence of property
Top comments (0)