What is variable typing in javascript? | Eklavya Online

What is variable typing in javascript?

It is perfectly legal to assign a number to a variable and then assign a string to the same variable as followsexample

i = 10;

i = “string”;

This is called variable typing