📜  如何在javascript代码示例中连接字符串

📅  最后修改于: 2022-03-11 15:01:13.985000             🧑  作者: Mango

代码示例6
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);