Angular
[Link]
Let a = 25
[Link](type of a)
a = "prasad"
[Link](type of a)
a=[5, 4, 3]
a={
name="raj"
}
[Link](type of a)
Let x = -25
If. (1<x<3)
{
[Link]("success")
}
else
{
[Link]("fail")
}
Typescript:
Typescript is used to provide static datatyping to Js. Typescript is a superset of [Link]
2012, microsoft launched the typescript it is a open source
Current version of type script is 5.8
Why do we need typescript
1)Typescript is a open source
2)it simplifies js code and provide static typing like other languages
3)it saves developers time and helps us to avoid painful bugs
4) typescript is nothing but a javascript with some added datatypes/features