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 function of javascript?
Is it possible to do 301 redirects in javascript ?
Write a program to reverse a string in pure javascript?
What is differential inheritance?
How does typeof operator work?
how to read and write a file using JavaScript?
How can a Javascript code redirect the user to a different page?
What is argument objects in javascript?
Consider the following code: 1 2 3 4 5 (function() { var a = b = 5; })(); console.log(b); what will be printed on the console?
What is the syntax of ‘self invoking function’? Give an example?
What is the scope variable in javascript?
What is slug in javascript?
How do I unblock javascript in chrome?
What is double exclamation point?
Do I need to install javascript?