Forum : What is variable typing in javascript?
Brief description  about Online courses   join in Online courses
View prabeen  patra 's Profile

What is variable typing in javascript?

What is variable typing in javascript?
Asked by prabeen patra | Mar 22, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi Prabeen,
It is perfectly legal to assign a number to a variable and then assign a string to the same variable as follows
example
i = 10;
i = "string";
This is called variable typing
Mar 22, 2010