Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level 3, Lesson 8...String Concatenation(Javascript)

let str1 = 'ambush';
let str2 = 101;
let str3 = false;

let str4 = str2 + str3 + str1;

controle.log(str4);

What am I doing wrong?
by

1 Answer

kshitijrana14
Try this one

let str1 = 'ambush';
let str2 = 101;
let str3 = false;
let str4=str2+' '+str3+str1;
console.log(typeof str4);

Login / Signup to Answer the Question.