var name="test";Recalls variable "name" into an alert box.
Now use the same variable double (use the first and the second)
You do not need to recall the variable with var tag. With this code, both of the popups will come up one after the other.
This gives the answer of 10+15, the two variables in an alert box of a variable.