js.l5 code example
Example: js.l5
variable type corection:
// when concate two different type of variables [ number + String +...] using console then javascript automatic convert to those variables to one type of variable [ String ] and print it.
EXAMPLE:
let name = 'dulon';
let age = 50;
console.log(name+age); //both are printed in one type [ String ].
variable mutation:
// when declared a variable [ x = 50 ] after declared or change this [ x = 50 ] variable to another value [ x = 100 ]. it is called variable mutation.
EXAMPLE:
let x = 50;
console.log(x);
x = 100;
console.log(x); // re-declared 'x'