TypeScript Tutorial - Declaring a variable in TypeScript

preview_player
Показать описание
Declaring a variable in TypeScript | LET, VAR and CONST 👍

TypeScript follows the same rules as JavaScript for variable declarations. Variables can be declared using: var, let, and const.

Example:
var x = 10;
let user = "DotNetCrunch";
const PI = 3.14;

Video Sections ✌
00:00 Intro
00:58 Declaring variables in TypeScript
01:45 Difference between let, var & const keywords
02:48 Declaring a Function in TypeScript
04:04 Use of let in a function
05:05 Lets compile & run the program
09:03 Recap
09:25 Outro

More Info:

Recommended Books:
These books are my personal recommendations. I have read or heard (in case of the audio book) them before suggesting to you.

#TypeScript #VariableDeclaration #DotNetCrunch

typescript declare global variable,

how to declare global variable in angular 4,

typescript variable types,

in typescript,

typescript array,

typescript declare keyword,

typescript global constants,

typescript array of objects,

typescript interface,

typescript function,

typescript operator
Рекомендации по теме
visit shbcf.ru