i have 2 variables
var num1 = 1;
var num2 = 1;
no i also need to increment the numbers in a for loop.
but i also need to use these variables as a string for this code
num1 = num1 + num2;
which i should get "11" instead i am getting "2"
it is just adding them together.
on the other hand if i define the variables as num = "1";then i cant seem to increment the numbers.
how do i go about this