Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to concatenate a string in javascript

let first_string = 'I am a programmer, ';
let second_string = 'I am indisposable.';
let what_i_said  = first_string + second_string;
console.log(what_i_said);

/* OR 
*/

let tell_my_boss = first_string.concat(second_string);
console.log(tell_my_boss);
 
PREVIOUS NEXT
Tagged: #concatenate #string #javascript
ADD COMMENT
Topic
Name
5+3 =