TypeScript Variables
Variables hold the data value which could be number, string or object type. basically it create space in memory. Typescript variable follow same JavaScript naming rules. Example Code: Output: Â my name Shrikant Kumar my age: 32 Marital status: true and random value is: Â 42