SyntaxFix
Write A Post
Hire A Developer
Questions
Note, while the above answers are correct, if you want, you can do something like:
alert("The variable named x1 has value: " + x1);