You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can declar a variable without a type. In such cases, the compiler will determine the type of the variable on the basis of the value assigned to it.
TypeScript will find the first usage of the variable within the code, determine the type to which it has been initially set and then assume the same type
for this variable in the rest of your code block.
*/
varstr="Marvellous Infosystems";// data type inferred as String