What will be the output of the following code
(script
language="JavaScript")
var x =2
var y= ++x
document.write ('Value of x and y= "+x+","+y)
(/script)
Answers
Answered by
0
Answer:
2,3
Explanation:
x value was 2
y value was increase one so value 3
Similar questions