Answer Posted / rajeshwar
Hi,
I think the above answer will not work for java script as
per my knowledged.
$variable_name are used in php but not in javascript. To
acheive the requirement in java just remove $ symbols.
var a="hello";
var b="world";
var concat= a+b; alert(concat);
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is the difference between HTMLCollection and NodeList?
What are all the types of Pop up boxes available in JavaScript?
Which is better typescript or javascript?
What are javascript objects?
How to access the value of a textbox using javascript?
What is foreach loop in javascript?
Why is javascript dangerous?
Where do I put javascript in html?
What is global variable in javascript?
What is the difference between ‘let’ and ‘const’?
What does unshift() function do in Javascript?
What are the different types of errors available in javascript?
Explain what is pop()method in JavaScript?
Explain a story about javascript performance problems?
When do we use JSON.stringify()?