Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

program showing string concatenation?

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


Please Help Members By Posting Answers For Below Questions

What is the difference between arrow function and normal function?

966


Is a javascript script faster than an asp script?

898


How to empty an array in JavaScript?

984


What is foreach loop in javascript?

943


How are object properties assigned?

872


What does _ mean in javascript?

946


What is the prototype object in javascript and how it is used?

923


What are the different ways to create an array in javascript?

921


What is a module in javascript?

1015


What is eager initialization in java?

869


Can I learn javascript without knowing java?

848


How to get the primitive value of a string in Javascript?

982


How to test 404 page in QA

2432


Enumerate the differences between Java and JavaScript?

1137


Please write the Code of simple javascript calculator withot eval() function

1928