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 do we need hoisting in javascript?
How does typeof operator work?
Difference Between JavaScript and ECMAScript?
Why do we need npm?
what is event bubbling and event capturing in javascript?
What are the javascript data types?
Is there any ide for javascript?
What is slug in javascript?
What is difference between local and global scope in javascript ?
What is event target in javascript?
How to associate functions with objects using javascript?
What is difference between callback and promise?
How can you to add javascript to a page when performing an asynchronous postback?
How do you trim in javascript?
Is python better than javascript?