I am practicing Javascript operators but addition is not working. What should I do to fix the problem?
This for a new website. I gave 10+20. but in output i get 1020 instead of 30.
var x="10";
var y="20";
var z=x+y;
I expect the output of 10+20 to be 1020, but the actual output is 30.