+ 3

Var greeting = "Hi" ; var name = "Bob" ;

Create a variable named message and set it to greeting varible plus the name with a space in between.? var greeting = "Hi" ; var name = "Bob" ;

15th Jun 2019, 10:37 AM
Muhammad Faisal
Muhammad Faisal - avatar
3 odpowiedzi
+ 2
var message = greeting + " " + name;
15th Jun 2019, 10:39 AM
Airree
Airree - avatar
+ 3
Try this one: Let message = `${greeting} ${name}`;
15th Jun 2019, 9:09 PM
Mahdi Akbari
Mahdi Akbari - avatar
+ 1
Thanks you .. #Airree
15th Jun 2019, 10:43 AM
Muhammad Faisal
Muhammad Faisal - avatar