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
Why is javascript used for web pages?
Why is currying called currying?
Explain what is javascript? List some data types supported by javascript?
How to get the primitive value of a string in Javascript?
What do you use javascript for?
How to get value from dropdown (select) control?
Is javascript safe to download?
Is javascript enabled on chrome?
Are javascript variables case sensitive?
What is the use of ‘debugger’ keyword in javascript code?
What is s+ in regex?
Where do I write javascript code?
Explain export & import in javascript?
Does javascript support automatic type conversion, if yes give example.
What is the Infinity property used for in Javascript?