-1
I need to include spaces between the person’s title, name and surname.
function cartao(titulo, nome, sobrenome) {
return titulo + nome + sobrenome
}
The result of this is: Dr.Matheuspeixoto without spaces and I can’t put spaces using blank quotes in "Return" does anyone help me? I’m starting now and this is an exercise in a course that I’m doing, but I can’t find explanations for what has already been said in it.
Daniel, thank you for answering. Looking at your solutions, I noticed what I was missing, I’m using the most common method and what I was forgetting was just the space between the quotation marks. By the way thanks for teaching me other methods.
– Matheus_Peixoto