JavaScript Variables
3 keywords are used for declaring variables in javascript.
1) var
2) let
3) const
Example of var
var a = 10;
document.write(a);
Example of let
let a = 20;
document.write(a);
Example of const
const a = 30;
document.write(a);
See more details please watch my video Click Here
Tags
JavaScript