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 does triple dot mean?
How to remove duplicates from javascript array?
How to loop through array in javascript?
Is javascript enabled on my computer?
How can a value be appended to an array?
How do you reverse a string in javascript?
How to add new elements dynamically?
what is the difference between let, var, and const?
What is scope chain in javascript?
What is the use of window object?
Some XYZ company is arranging for online aptitude tests. Draw detailed E-R diagram for the same..
name any two javascript functions which are used to convert nonnumeric values into numbers?
Is javascript open source?
Why javascript is fast?
Explain function hoisting in javascript?