+ 1
Separating values in javascript
If I want to calculate the value of x, but I want to keep it from being generated directly next to another value. Like document.write(x); And document.write(y); How can it generate as "x y" instead of "xy"?
1 Answer
+ 2
Put space after x like this x + " "
you can also write like this
document.write(x + " " + y);