Answer Posted / prasadkonnur
HI Rajeshwar,
you are right. $variable work in php. not in javascript.
var a="hello";
var b="world";
var concat= a+b;
document.writeln(concat);
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the difference between arrow function and normal function?
Is a javascript script faster than an asp script?
How to empty an array in JavaScript?
What is foreach loop in javascript?
How are object properties assigned?
What does _ mean in javascript?
What is the prototype object in javascript and how it is used?
What are the different ways to create an array in javascript?
What is a module in javascript?
What is eager initialization in java?
Can I learn javascript without knowing java?
How to get the primitive value of a string in Javascript?
How to test 404 page in QA
Enumerate the differences between Java and JavaScript?
Please write the Code of simple javascript calculator withot eval() function