program showing string concatenation?

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


Please Help Members By Posting Answers For Below Questions

How much does a javascript developer make?

665


Can I open javascript on iphone?

694


How to delete a cookie using javascript?

709


Name some of the built-in methods and the values returned by them.

775


How do I open javascript on my iphone?

665


Does javascript have the concept level scope?

782


What is the use of isNaN function?

712


What are the seven data types of javascript?

743


What are the scopes of a variable in javascript?

734


What is the difference between ‘var’ and ‘let’ keyword?

699


How we can get the value of an element using javascript?

688


Does apple use javascript?

620


Explain javascript event delegation model?

703


How do you check if a string is a number javascript?

653


how to validate the date(dd/mm/yyyy)using regular expression in javascript? It should also satisfy the leap year feb 29 problem. Please help me.

5941